ClusterPolicy constructor

ClusterPolicy(
  1. String name, {
  2. ClusterPolicyArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new ClusterPolicy. name The Pulumi resource name. args Arguments used to configure this ClusterPolicy. The set of arguments for ClusterPolicy. options Resource options controlling this resource's behavior.

Implementation

ClusterPolicy(
  String name, {
  ClusterPolicyArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:msk/clusterPolicy:ClusterPolicy',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  clusterArn = registerOutput<String>('clusterArn');
  currentVersion = registerOutput<String>('currentVersion');
  policy = registerOutput<String>('policy');
  region = registerOutput<String>('region');
}