Sélectionner vos préférences de cookies

Nous utilisons des cookies essentiels et des outils similaires qui sont nécessaires au fonctionnement de notre site et à la fourniture de nos services. Nous utilisons des cookies de performance pour collecter des statistiques anonymes afin de comprendre comment les clients utilisent notre site et d’apporter des améliorations. Les cookies essentiels ne peuvent pas être désactivés, mais vous pouvez cliquer sur « Personnaliser » ou « Refuser » pour refuser les cookies de performance.

Si vous êtes d’accord, AWS et les tiers approuvés utiliseront également des cookies pour fournir des fonctionnalités utiles au site, mémoriser vos préférences et afficher du contenu pertinent, y compris des publicités pertinentes. Pour accepter ou refuser tous les cookies non essentiels, cliquez sur « Accepter » ou « Refuser ». Pour effectuer des choix plus détaillés, cliquez sur « Personnaliser ».

AWS::MSK::VpcConnection

Mode de mise au point
AWS::MSK::VpcConnection - AWS CloudFormation
Cette page n'a pas été traduite dans votre langue. Demande de traduction
Filtrer la vue

Create remote VPC connection.

Syntax

To declare this entity in your AWS 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

Allowed values: SASL_IAM | SASL_SCRAM | TLS

Minimum: 3

Maximum: 10

Update requires: Replacement

ClientSubnets

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

Required: Yes

Type: Array of String

Update requires: Replacement

SecurityGroups

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

Required: Yes

Type: Array of String

Update requires: Replacement

Tags

An arbitrary set of tags (key-value pairs) you specify while creating the VPC connection.

Required: No

Type: Object of String

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Update requires: No interruption

TargetClusterArn

The Amazon Resource Name (ARN) of the cluster.

Required: Yes

Type: String

Pattern: ^arn:[\w-]+:kafka:[\w-]+:\d+:cluster.*\Z

Update requires: Replacement

VpcId

The VPC ID of the remote client.

Required: Yes

Type: String

Pattern: ^(vpc-)([a-z0-9]+)\Z

Update requires: Replacement

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns 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 Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic 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::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The ARN of the VPC connection.

Sur cette page

Rubrique suivante :

Next

Rubrique précédente :

VpcConfig
ConfidentialitéConditions d'utilisation du sitePréférences de cookies
© 2025, Amazon Web Services, Inc. ou ses affiliés. Tous droits réservés.