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" :{, "TargetClusterArn" :Key:Value, ...}String, "VpcId" :String} }
YAML
Type: AWS::MSK::VpcConnection Properties: Authentication:StringClientSubnets:- StringSecurityGroups:- StringTags:TargetClusterArn:Key:ValueStringVpcId: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.