aws::transit-gateway-route-table

Creates a transit gateway route table.

Example

aws::transit-gateway-route-table transit-gateway-route-table-example
    transit-gateway: $(aws::transit-gateway example-transit-gateway)

    association
        peering-attachment: $(aws::transit-gateway-peering-attachment transit-gateway-peering-attachment-example)
    end

    route
        destination-cidr-block: "10.0.0.0/24"
        peering-attachment: $(aws::transit-gateway-peering-attachment transit-gateway-peering-attachment-example)
    end
end

Attributes

Attribute Description
transit-gateway The transit gateway of the route table. (Required)
association list subresource

The attachments to associate with the route table.

peering-attachment
The Peering attachment to associate with the route table. Cannot be set if any of vpc-attachment or vpn-attachment is set.
vpc-attachment
The Vpc attachment to associate with the route table. Cannot be set if any of peering-attachment or vpn-attachment is set.
vpn-attachment
The VPN connection to associate with the route table. Cannot be set if any of peering-attachment or vpc-attachment is set.
propagation list subresource

The attachments to propagate with the route table.

vpc-attachment
The attachment to propagate to the route table. Cannot be set if vpn-attachment is set.
vpn-attachment
The VPN connection to associate with the route table. Cannot be set if vpc-attachment is set.
route list subresource

The static routes or blackholes for the route table.

destination-cidr-block
The Cidr block for which the route needs to be created. (Required)
blackhole
When set to true, blackhole is enabled to drop all the traffic that matches this route.
peering-attachment
The peering attachment for the route. Cannot be set if vpc-attachment is set.
vpc-attachment
The VPC attachment for the route. Cannot be set if peering-attachment is set.
vpn-attachment
The VPN attachment for the route.

Outputs

Attribute Description
id The ID of the route table.