CfnVpcConnectionProps

class aws_cdk.aws_msk.CfnVpcConnectionProps(*, authentication, client_subnets, security_groups, target_cluster_arn, vpc_id, tags=None)

Bases: object

Properties for defining a CfnVpcConnection.

Parameters:
  • authentication (str) – The type of private link authentication.

  • client_subnets (Sequence[str]) – The list of subnets in the client VPC to connect to.

  • security_groups (Sequence[str]) – The security groups to attach to the ENIs for the broker nodes.

  • target_cluster_arn (str) – The Amazon Resource Name (ARN) of the cluster.

  • vpc_id (str) – The VPC id of the remote client.

  • tags (Optional[Mapping[str, str]]) – Create tags when creating the VPC connection.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-vpcconnection.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_vpc_connection_props = msk.CfnVpcConnectionProps(
    authentication="authentication",
    client_subnets=["clientSubnets"],
    security_groups=["securityGroups"],
    target_cluster_arn="targetClusterArn",
    vpc_id="vpcId",

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

Attributes

authentication

The type of private link authentication.

Link:

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

client_subnets

The list of subnets in the client VPC to connect to.

Link:

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

security_groups

The security groups to attach to the ENIs for the broker nodes.

Link:

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

tags

Create tags when creating the VPC connection.

Link:

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

target_cluster_arn

The Amazon Resource Name (ARN) of the cluster.

Link:

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

vpc_id

The VPC id of the remote client.

Link:

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