AWS::NetworkManager::Link - 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::NetworkManager::Link

Specifies a link for a site.

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

{ "Type" : "AWS::NetworkManager::Link", "Properties" : { "Bandwidth" : Bandwidth, "Description" : String, "GlobalNetworkId" : String, "Provider" : String, "SiteId" : String, "Tags" : [ Tag, ... ], "Type" : String } }
Type: AWS::NetworkManager::Link Properties: Bandwidth: Bandwidth Description: String GlobalNetworkId: String Provider: String SiteId: String Tags: - Tag Type: String

The bandwidth for the link.

Required: Yes

Type: Bandwidth

Update requires: No interruption

A description of the link.

Constraints: Maximum length of 256 characters.

Required: No

Type: String

Minimum: 0

Maximum: 256

Pattern: [\s\S]*

Update requires: No interruption

The ID of the global network.

Required: Yes

Type: String

Minimum: 0

Maximum: 50

Pattern: [\s\S]*

Update requires: Replacement

The provider of the link.

Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^

Required: No

Type: String

Minimum: 0

Maximum: 256

Pattern: [\s\S]*

Update requires: No interruption

The ID of the site.

Required: Yes

Type: String

Minimum: 0

Maximum: 50

Pattern: [\s\S]*

Update requires: Replacement

The tags for the link.

Required: No

Type: List of Tag

Update requires: No interruption

The type of the link.

Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^

Required: No

Type: String

Minimum: 0

Maximum: 256

Pattern: [\s\S]*

Update requires: No interruption

When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the IDs of the global network and link. For example: global-network-01231231231231231|link-11112222aaaabbbb1.

For more information about using the Reffunction, see Ref.

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.

LinkArn

The ARN of the link. For example, arn:aws:networkmanager::123456789012:link/global-network-01231231231231231/link-11112222aaaabbbb1.

LinkId

The ID of the link. For example, link-11112222aaaabbbb1.

The following example creates a link in a global network.

{ "Type": "AWS::NetworkManager::Link", "Properties": { "Description": "Broadband link", "GlobalNetworkId": { "Ref": "GlobalNetwork" }, "SiteId": { "Fn::GetAtt": [ "Site", "SiteId" ] }, "Bandwidth": { "DownloadSpeed": 20, "UploadSpeed": 20 }, "Provider": "AnyCompany", "Type": "Broadband", "Tags": [ { "Key": "Name", "Value": "broadband-link-1" } ] } }
Type: AWS::NetworkManager::Link Properties: Description: "Broadband link" GlobalNetworkId: !Ref GlobalNetwork SiteId: !GetAtt Site.SiteId Bandwidth: DownloadSpeed: 20 UploadSpeed: 20 Provider: "AnyCompany" Type: "Broadband" Tags: - Key: Name Value: broadband-link-1