AWS::VpcLattice::ServiceNetworkResourceAssociation - AWS CloudFormation

AWS::VpcLattice::ServiceNetworkResourceAssociation

Associates the specified service network with the specified resource configuration. This allows the resource configuration to receive connections through the service network, including through a service network VPC endpoint.

Syntax

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

JSON

{ "Type" : "AWS::VpcLattice::ServiceNetworkResourceAssociation", "Properties" : { "ResourceConfigurationId" : String, "ServiceNetworkId" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::VpcLattice::ServiceNetworkResourceAssociation Properties: ResourceConfigurationId: String ServiceNetworkId: String Tags: - Tag

Properties

ResourceConfigurationId

The ID of the resource configuration associated with the service network.

Required: No

Type: String

Pattern: ^rcfg-[0-9a-z]{17}$

Minimum: 17

Maximum: 2048

Update requires: Replacement

ServiceNetworkId

The ID of the service network associated with the resource configuration.

Required: No

Type: String

Pattern: ^((sn-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}))$

Minimum: 3

Maximum: 2048

Update requires: Replacement

Tags

A key-value pair to associate with a resource.

Required: No

Type: Array of Tag

Minimum: 0

Maximum: 50

Update requires: No interruption

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 association.

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 Amazon Resource Name (ARN) of the association.

Id

The ID of the association between the service network and resource configuration.