AWS::MSK::VpcConnection - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::MSK::VpcConnection

Create remote VPC connection.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::MSK::VpcConnection", "Properties" : { "Authentication" : String, "ClientSubnets" : [ String, ... ], "SecurityGroups" : [ String, ... ], "Tags" : {Key: Value, ...}, "TargetClusterArn" : String, "VpcId" : String } }

YAML

Type: AWS::MSK::VpcConnection Properties: Authentication: String ClientSubnets: - String SecurityGroups: - String Tags: Key: Value TargetClusterArn: String VpcId: String

Properties

Authentication

The type of private link authentication.

Required: Yes

Type: String

Update requires: Replacement

ClientSubnets

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

Required: Yes

Type: List of String

Update requires: Replacement

SecurityGroups

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

Required: Yes

Type: List of String

Update requires: Replacement

Tags

Create tags when creating the VPC connection.

Required: No

Type: Map of String

Update requires: No interruption

TargetClusterArn

The Amazon Resource Name (ARN) of the cluster.

Required: Yes

Type: String

Update requires: Replacement

VpcId

The VPC id of the remote client.

Required: Yes

Type: String

Update requires: Replacement

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the Amazon Resource Name (ARN) of the VPC connection.

For Amazon MSK VPC connection MyVpcConnection, Ref returns the ARN of the VPC connection whose logical ID is MyVpcConnection.

For more information about using the Reffunction, see Ref.

Fn::GetAtt

The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.

Arn

The ARN of the VPC connection.