CfnServerlessClusterProps

class aws_cdk.aws_msk.CfnServerlessClusterProps(*, client_authentication, cluster_name, vpc_configs, tags=None)

Bases: object

Properties for defining a CfnServerlessCluster.

Parameters
  • client_authentication (Union[IResolvable, ClientAuthenticationProperty, Dict[str, Any]]) – AWS::MSK::ServerlessCluster.ClientAuthentication.

  • cluster_name (str) – AWS::MSK::ServerlessCluster.ClusterName.

  • vpc_configs (Union[IResolvable, Sequence[Union[IResolvable, VpcConfigProperty, Dict[str, Any]]]]) – AWS::MSK::ServerlessCluster.VpcConfigs.

  • tags (Optional[Mapping[str, str]]) – AWS::MSK::ServerlessCluster.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_msk as msk

cfn_serverless_cluster_props = msk.CfnServerlessClusterProps(
    client_authentication=msk.CfnServerlessCluster.ClientAuthenticationProperty(
        sasl=msk.CfnServerlessCluster.SaslProperty(
            iam=msk.CfnServerlessCluster.IamProperty(
                enabled=False
            )
        )
    ),
    cluster_name="clusterName",
    vpc_configs=[msk.CfnServerlessCluster.VpcConfigProperty(
        subnet_ids=["subnetIds"],

        # the properties below are optional
        security_groups=["securityGroups"]
    )],

    # the properties below are optional
    tags={
        "tags_key": "tags"
    }
)

Attributes

client_authentication

AWS::MSK::ServerlessCluster.ClientAuthentication.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-clientauthentication

Return type

Union[IResolvable, ClientAuthenticationProperty]

cluster_name

AWS::MSK::ServerlessCluster.ClusterName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-clustername

Return type

str

tags

AWS::MSK::ServerlessCluster.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-tags

Return type

Optional[Mapping[str, str]]

vpc_configs

AWS::MSK::ServerlessCluster.VpcConfigs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html#cfn-msk-serverlesscluster-vpcconfigs

Return type

Union[IResolvable, List[Union[IResolvable, VpcConfigProperty]]]