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

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::TransitGatewayPolicyTable Resource Definition

    Using getTransitGatewayPolicyTable

    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 getTransitGatewayPolicyTable(args: GetTransitGatewayPolicyTableArgs, opts?: InvokeOptions): Promise<GetTransitGatewayPolicyTableResult>
    function getTransitGatewayPolicyTableOutput(args: GetTransitGatewayPolicyTableOutputArgs, opts?: InvokeOutputOptions): Output<GetTransitGatewayPolicyTableResult>
    def get_transit_gateway_policy_table(transit_gateway_policy_table_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetTransitGatewayPolicyTableResult
    def get_transit_gateway_policy_table_output(transit_gateway_policy_table_id: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetTransitGatewayPolicyTableResult]
    func LookupTransitGatewayPolicyTable(ctx *Context, args *LookupTransitGatewayPolicyTableArgs, opts ...InvokeOption) (*LookupTransitGatewayPolicyTableResult, error)
    func LookupTransitGatewayPolicyTableOutput(ctx *Context, args *LookupTransitGatewayPolicyTableOutputArgs, opts ...InvokeOption) LookupTransitGatewayPolicyTableResultOutput

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

    public static class GetTransitGatewayPolicyTable 
    {
        public static Task<GetTransitGatewayPolicyTableResult> InvokeAsync(GetTransitGatewayPolicyTableArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayPolicyTableResult> Invoke(GetTransitGatewayPolicyTableInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayPolicyTableResult> Invoke(GetTransitGatewayPolicyTableInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTransitGatewayPolicyTableResult> getTransitGatewayPolicyTable(GetTransitGatewayPolicyTableArgs args, InvokeOptions options)
    public static Output<GetTransitGatewayPolicyTableResult> getTransitGatewayPolicyTable(GetTransitGatewayPolicyTableArgs args, InvokeOptions options)
    public static Output<GetTransitGatewayPolicyTableResult> getTransitGatewayPolicyTable(GetTransitGatewayPolicyTableArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayPolicyTable
      arguments:
        # arguments dictionary
    data "aws-native_ec2_get_transit_gateway_policy_table" "name" {
        # arguments
    }

    The following arguments are supported:

    TransitGatewayPolicyTableId string
    The Id of transit gateway policy table.
    TransitGatewayPolicyTableId string
    The Id of transit gateway policy table.
    transit_gateway_policy_table_id string
    The Id of transit gateway policy table.
    transitGatewayPolicyTableId String
    The Id of transit gateway policy table.
    transitGatewayPolicyTableId string
    The Id of transit gateway policy table.
    transit_gateway_policy_table_id str
    The Id of transit gateway policy table.
    transitGatewayPolicyTableId String
    The Id of transit gateway policy table.

    getTransitGatewayPolicyTable Result

    The following output properties are available:

    CreationTime string
    Creation time of the transit gateway policy table
    State string
    State of the transit gateway policy table
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    TransitGatewayPolicyTableId string
    The Id of transit gateway policy table.
    CreationTime string
    Creation time of the transit gateway policy table
    State string
    State of the transit gateway policy table
    Tags Tag
    TransitGatewayPolicyTableId string
    The Id of transit gateway policy table.
    creation_time string
    Creation time of the transit gateway policy table
    state string
    State of the transit gateway policy table
    tags list(object)
    transit_gateway_policy_table_id string
    The Id of transit gateway policy table.
    creationTime String
    Creation time of the transit gateway policy table
    state String
    State of the transit gateway policy table
    tags List<Tag>
    transitGatewayPolicyTableId String
    The Id of transit gateway policy table.
    creationTime string
    Creation time of the transit gateway policy table
    state string
    State of the transit gateway policy table
    tags Tag[]
    transitGatewayPolicyTableId string
    The Id of transit gateway policy table.
    creation_time str
    Creation time of the transit gateway policy table
    state str
    State of the transit gateway policy table
    tags Sequence[root_Tag]
    transit_gateway_policy_table_id str
    The Id of transit gateway policy table.
    creationTime String
    Creation time of the transit gateway policy table
    state String
    State of the transit gateway policy table
    tags List<Property Map>
    transitGatewayPolicyTableId String
    The Id of transit gateway policy table.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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