1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ec2
  6. getTransitGatewayPolicyTableAssociation

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi

    AWS::EC2::TransitGatewayPolicyTableAssociation Resource Definition

    Using getTransitGatewayPolicyTableAssociation

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTransitGatewayPolicyTableAssociation(args: GetTransitGatewayPolicyTableAssociationArgs, opts?: InvokeOptions): Promise<GetTransitGatewayPolicyTableAssociationResult>
    function getTransitGatewayPolicyTableAssociationOutput(args: GetTransitGatewayPolicyTableAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetTransitGatewayPolicyTableAssociationResult>
    def get_transit_gateway_policy_table_association(transit_gateway_attachment_id: Optional[str] = None,
                                                     transit_gateway_policy_table_id: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetTransitGatewayPolicyTableAssociationResult
    def get_transit_gateway_policy_table_association_output(transit_gateway_attachment_id: pulumi.Input[Optional[str]] = None,
                                                     transit_gateway_policy_table_id: pulumi.Input[Optional[str]] = None,
                                                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetTransitGatewayPolicyTableAssociationResult]
    func LookupTransitGatewayPolicyTableAssociation(ctx *Context, args *LookupTransitGatewayPolicyTableAssociationArgs, opts ...InvokeOption) (*LookupTransitGatewayPolicyTableAssociationResult, error)
    func LookupTransitGatewayPolicyTableAssociationOutput(ctx *Context, args *LookupTransitGatewayPolicyTableAssociationOutputArgs, opts ...InvokeOption) LookupTransitGatewayPolicyTableAssociationResultOutput

    > Note: This function is named LookupTransitGatewayPolicyTableAssociation in the Go SDK.

    public static class GetTransitGatewayPolicyTableAssociation 
    {
        public static Task<GetTransitGatewayPolicyTableAssociationResult> InvokeAsync(GetTransitGatewayPolicyTableAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayPolicyTableAssociationResult> Invoke(GetTransitGatewayPolicyTableAssociationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayPolicyTableAssociationResult> Invoke(GetTransitGatewayPolicyTableAssociationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTransitGatewayPolicyTableAssociationResult> getTransitGatewayPolicyTableAssociation(GetTransitGatewayPolicyTableAssociationArgs args, InvokeOptions options)
    public static Output<GetTransitGatewayPolicyTableAssociationResult> getTransitGatewayPolicyTableAssociation(GetTransitGatewayPolicyTableAssociationArgs args, InvokeOptions options)
    public static Output<GetTransitGatewayPolicyTableAssociationResult> getTransitGatewayPolicyTableAssociation(GetTransitGatewayPolicyTableAssociationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayPolicyTableAssociation
      arguments:
        # arguments dictionary
    data "aws-native_ec2_get_transit_gateway_policy_table_association" "name" {
        # arguments
    }

    The following arguments are supported:

    TransitGatewayAttachmentId string
    The ID of transit gateway attachment.
    TransitGatewayPolicyTableId string
    The ID of transit gateway policy table.
    TransitGatewayAttachmentId string
    The ID of transit gateway attachment.
    TransitGatewayPolicyTableId string
    The ID of transit gateway policy table.
    transit_gateway_attachment_id string
    The ID of transit gateway attachment.
    transit_gateway_policy_table_id string
    The ID of transit gateway policy table.
    transitGatewayAttachmentId String
    The ID of transit gateway attachment.
    transitGatewayPolicyTableId String
    The ID of transit gateway policy table.
    transitGatewayAttachmentId string
    The ID of transit gateway attachment.
    transitGatewayPolicyTableId string
    The ID of transit gateway policy table.
    transit_gateway_attachment_id str
    The ID of transit gateway attachment.
    transit_gateway_policy_table_id str
    The ID of transit gateway policy table.
    transitGatewayAttachmentId String
    The ID of transit gateway attachment.
    transitGatewayPolicyTableId String
    The ID of transit gateway policy table.

    getTransitGatewayPolicyTableAssociation Result

    The following output properties are available:

    State string
    The state of the transit gateway policy table association.
    State string
    The state of the transit gateway policy table association.
    state string
    The state of the transit gateway policy table association.
    state String
    The state of the transit gateway policy table association.
    state string
    The state of the transit gateway policy table association.
    state str
    The state of the transit gateway policy table association.
    state String
    The state of the transit gateway policy table association.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.76.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial