AWS Fundamentals Logo
AWS Fundamentals
AWS::NetworkManager::DirectConnectGatewayAttachment

NetworkManager DirectConnectGatewayAttachment

AWS::NetworkManager::DirectConnectGatewayAttachment Resource Type

Properties

7 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
CoreNetworkId
string
RequiredCreate-only
DirectConnectGatewayArn
string
RequiredCreate-only
EdgeLocations
Array<string>
Required
ProposedNetworkFunctionGroupChange
ProposedNetworkFunctionGroupChange
ProposedSegmentChange
ProposedSegmentChange
RoutingPolicyLabel
string
Create-onlyWrite-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AttachmentIdstringId of the attachment.
AttachmentPolicyRuleNumberintegerThe policy rule number associated with the attachment.
AttachmentTypestringAttachment type.
CoreNetworkArnstringThe ARN of a core network for the Direct Connect Gateway attachment.
CreatedAtstringCreation time of the attachment.
LastModificationErrorsArray<string>Errors from the last modification of the attachment.
NetworkFunctionGroupNamestringThe name of the network function group attachment.
OwnerAccountIdstringOwner account of the attachment.
ResourceArnstringThe ARN of the Resource.
SegmentNamestringThe name of the segment attachment..
StatestringState of the attachment.
UpdatedAtstringLast update time of the attachment.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::NetworkManager::DirectConnectGatewayAttachment

Resources:
  MyResource:
    Type: AWS::NetworkManager::DirectConnectGatewayAttachment
    Properties:
      CoreNetworkId: "my-corenetworkid"
      DirectConnectGatewayArn: "arn:aws:service:region:account:resource"
      EdgeLocations: []
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

networkmanager:CreateDirectConnectGatewayAttachmentnetworkmanager:GetDirectConnectGatewayAttachmentnetworkmanager:TagResourceec2:DescribeRegionsiam:CreateServiceLinkedRole

read

networkmanager:GetDirectConnectGatewayAttachment

update

networkmanager:UpdateDirectConnectGatewayAttachmentnetworkmanager:GetDirectConnectGatewayAttachmentnetworkmanager:ListTagsForResourcenetworkmanager:TagResourcenetworkmanager:UntagResourceec2:DescribeRegions

delete

networkmanager:DeleteAttachmentnetworkmanager:GetDirectConnectGatewayAttachmentnetworkmanager:UntagResourceec2:DescribeRegions

list

networkmanager:ListAttachments

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceNetworkManager
Properties19
Required3
TaggingSupported
Primary IDAttachmentId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

CoreNetworkIdDirectConnectGatewayArnRoutingPolicyLabel

External Links