We recommend new projects start with resources from the AWS provider.
aws-native.msk.ClusterPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::MSK::ClusterPolicy
Create ClusterPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterPolicy(name: string, args: ClusterPolicyArgs, opts?: CustomResourceOptions);
@overload
def ClusterPolicy(resource_name: str,
args: ClusterPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_arn: Optional[str] = None,
policy: Optional[Any] = None)
func NewClusterPolicy(ctx *Context, name string, args ClusterPolicyArgs, opts ...ResourceOption) (*ClusterPolicy, error)
public ClusterPolicy(string name, ClusterPolicyArgs args, CustomResourceOptions? opts = null)
public ClusterPolicy(String name, ClusterPolicyArgs args)
public ClusterPolicy(String name, ClusterPolicyArgs args, CustomResourceOptions options)
type: aws-native:msk:ClusterPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ClusterPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ClusterPolicy resource accepts the following input properties:
- Cluster
Arn string - The arn of the cluster for the resource policy.
- Policy object
A policy document containing permissions to add to the specified cluster.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicy
for more information about the expected schema for this property.
- Cluster
Arn string - The arn of the cluster for the resource policy.
- Policy interface{}
A policy document containing permissions to add to the specified cluster.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicy
for more information about the expected schema for this property.
- cluster
Arn String - The arn of the cluster for the resource policy.
- policy Object
A policy document containing permissions to add to the specified cluster.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicy
for more information about the expected schema for this property.
- cluster
Arn string - The arn of the cluster for the resource policy.
- policy any
A policy document containing permissions to add to the specified cluster.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicy
for more information about the expected schema for this property.
- cluster_
arn str - The arn of the cluster for the resource policy.
- policy Any
A policy document containing permissions to add to the specified cluster.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicy
for more information about the expected schema for this property.
- cluster
Arn String - The arn of the cluster for the resource policy.
- policy Any
A policy document containing permissions to add to the specified cluster.
Search the CloudFormation User Guide for
AWS::MSK::ClusterPolicy
for more information about the expected schema for this property.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterPolicy resource produces the following output properties:
- Current
Version string - The current version of the policy attached to the specified cluster
- Id string
- The provider-assigned unique ID for this managed resource.
- Current
Version string - The current version of the policy attached to the specified cluster
- Id string
- The provider-assigned unique ID for this managed resource.
- current
Version String - The current version of the policy attached to the specified cluster
- id String
- The provider-assigned unique ID for this managed resource.
- current
Version string - The current version of the policy attached to the specified cluster
- id string
- The provider-assigned unique ID for this managed resource.
- current_
version str - The current version of the policy attached to the specified cluster
- id str
- The provider-assigned unique ID for this managed resource.
- current
Version String - The current version of the policy attached to the specified cluster
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.