AWS::DirectConnect::DirectConnectGatewayAssociationResource Type definition for AWS::DirectConnect::DirectConnectGatewayAssociation
4 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AssociatedGatewayId | Any | Any | Any | RequiredCreate-only |
DirectConnectGatewayId | Any | Any | RequiredCreate-only |
AcceptDirectConnectGatewayAssociationProposalRoleArn | string | Create-onlyWrite-only |
AllowedPrefixesToDirectConnectGateway | Array<string> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AssociationId | string | The ID of the Direct Connect gateway association. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DirectConnect::DirectConnectGatewayAssociation
Resources:
MyResource:
Type: AWS::DirectConnect::DirectConnectGatewayAssociation
Properties:
DirectConnectGatewayId: "my-directconnectgatewayid"
AssociatedGatewayId: "my-associatedgatewayid"Permissions CloudFormation needs in your IAM role to manage this resource.
directconnect:DescribeDirectConnectGatewayAssociationsdirectconnect:CreateDirectConnectGatewayAssociationProposaldirectconnect:CreateDirectConnectGatewayAssociationdirectconnect:DescribeDirectConnectGatewayAssociationssts:AssumeRoledirectconnect:DescribeDirectConnectGatewayAssociationsdirectconnect:UpdateDirectConnectGatewayAssociationsts:AssumeRoledirectconnect:DescribeDirectConnectGatewayAssociationsdirectconnect:DeleteDirectConnectGatewayAssociationdirectconnect:DescribeDirectConnectGatewayAssociationsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAssociationIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AcceptDirectConnectGatewayAssociationProposalRoleArnAssociatedGatewayIdDirectConnectGatewayId