associate_transit_gateway_policy_table

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
)
Parameters
  • TransitGatewayPolicyTableId (string) --

    [REQUIRED]

    The ID of the transit gateway policy table to associate with the transit gateway attachment.

  • TransitGatewayAttachmentId (string) --

    [REQUIRED]

    The ID of the transit gateway attachment to associate with the policy table.

  • DryRun (boolean) -- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
Return type

dict

Returns

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.