NetworkConfig / DxGatewayConfig / DxTransitGatewayAssociationConfig

Direct Connect Gateway transit gateway association configuration.

Use this configuration to define transit gateway attachments for a DX gateway.

- name: Network-Main
account: Network
allowedPrefixes:
- 10.0.0.0/8
- 192.168.0.0/24
routeTableAssociations:
- Network-Main-Core
routeTablePropagations:
- Network-Main-Core
- Network-Main-Shared
- Network-Main-Segregated
interface IDxTransitGatewayAssociationConfig {
    account: string;
    allowedPrefixes: string[];
    name: string;
    routeTableAssociations?: string[];
    routeTablePropagations?: string[];
}

Properties

account: string

The friendly name of the account the transit gateway is deployed to.

This is the account property of the transit gateway as defined in network-config.yaml.

If specifying an account that differs from the account of the Direct Connect Gateway, this will create an association proposal from the transit gateway owner account to the Direct Connect Gateway owner account. Proposals must be manually approved. Proposal associations cannot also have configured transit gateway route table associations or propagations.

allowedPrefixes: string[]

An array of CIDR prefixes that are allowed to advertise over this transit gateway association.

name: string

The friendly name of the transit gateway to associate.

This is the logical name property of the transit gateway as defined in network-config.yaml.

routeTableAssociations?: string[]

(OPTIONAL) The friendly name of TGW route table(s) to associate with this attachment.

This is the logical name property of the route table(s) as defined in network-config.yaml.

TransitGatewayRouteTableConfig

routeTablePropagations?: string[]

(OPTIONAL) The friendly name of TGW route table(s) to propagate routes from this attachment.

This is the logical name property of the route table(s) as defined in network-config.yaml.

TransitGatewayRouteTableConfig