associate_transit_gateway_policy_table
(**kwargs)¶Associates the specified transit gateway attachment with a transit gateway policy table.
See also: AWS API Documentation
Request Syntax
response = client.associate_transit_gateway_policy_table(
TransitGatewayPolicyTableId='string',
TransitGatewayAttachmentId='string',
DryRun=True|False
)
[REQUIRED]
The ID of the transit gateway policy table to associate with the transit gateway attachment.
[REQUIRED]
The ID of the transit gateway attachment to associate with the policy table.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'Association': {
'TransitGatewayPolicyTableId': 'string',
'TransitGatewayAttachmentId': 'string',
'ResourceId': 'string',
'ResourceType': 'vpc'|'vpn'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering',
'State': 'associating'|'associated'|'disassociating'|'disassociated'
}
}
Response Structure
(dict) --
Association (dict) --
Describes the association of a transit gateway and a transit gateway policy table.
TransitGatewayPolicyTableId (string) --
The ID of the transit gateway policy table.
TransitGatewayAttachmentId (string) --
The ID of the transit gateway attachment.
ResourceId (string) --
The resource ID of the transit gateway attachment.
ResourceType (string) --
The resource type for the transit gateway policy table association.
State (string) --
The state of the transit gateway policy table association.