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]]) – Includes all client authentication related information.

  • cluster_name (str) – The name of the cluster.

  • vpc_configs (Union[IResolvable, Sequence[Union[IResolvable, VpcConfigProperty, Dict[str, Any]]]]) – VPC configuration information for the serverless cluster.

  • tags (Optional[Mapping[str, str]]) – An arbitrary set of tags (key-value pairs) for the cluster.

See:

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.
from aws_cdk import 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

Includes all client authentication related information.

See:

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

cluster_name

The name of the cluster.

See:

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

tags

An arbitrary set of tags (key-value pairs) for the cluster.

See:

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

vpc_configs

VPC configuration information for the serverless cluster.

See:

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