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

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

    Create TransitGatewayPolicyTableEntry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TransitGatewayPolicyTableEntry(name: string, args: TransitGatewayPolicyTableEntryArgs, opts?: CustomResourceOptions);
    @overload
    def TransitGatewayPolicyTableEntry(resource_name: str,
                                       args: TransitGatewayPolicyTableEntryArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def TransitGatewayPolicyTableEntry(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       policy_rule: Optional[TransitGatewayPolicyTableEntryTransitGatewayPolicyRuleArgs] = None,
                                       policy_rule_number: Optional[str] = None,
                                       target_route_table_id: Optional[str] = None,
                                       transit_gateway_policy_table_id: Optional[str] = None)
    func NewTransitGatewayPolicyTableEntry(ctx *Context, name string, args TransitGatewayPolicyTableEntryArgs, opts ...ResourceOption) (*TransitGatewayPolicyTableEntry, error)
    public TransitGatewayPolicyTableEntry(string name, TransitGatewayPolicyTableEntryArgs args, CustomResourceOptions? opts = null)
    public TransitGatewayPolicyTableEntry(String name, TransitGatewayPolicyTableEntryArgs args)
    public TransitGatewayPolicyTableEntry(String name, TransitGatewayPolicyTableEntryArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:TransitGatewayPolicyTableEntry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_ec2_transit_gateway_policy_table_entry" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TransitGatewayPolicyTableEntryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TransitGatewayPolicyTableEntryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TransitGatewayPolicyTableEntryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransitGatewayPolicyTableEntryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransitGatewayPolicyTableEntryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TransitGatewayPolicyTableEntry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TransitGatewayPolicyTableEntry resource accepts the following input properties:

    PolicyRule Pulumi.AwsNative.Ec2.Inputs.TransitGatewayPolicyTableEntryTransitGatewayPolicyRule
    The policy rule associated with the entry.
    PolicyRuleNumber string
    The rule number for the policy table entry.
    TargetRouteTableId string
    The ID of the target route table.
    TransitGatewayPolicyTableId string
    The ID of the transit gateway policy table.
    PolicyRule TransitGatewayPolicyTableEntryTransitGatewayPolicyRuleArgs
    The policy rule associated with the entry.
    PolicyRuleNumber string
    The rule number for the policy table entry.
    TargetRouteTableId string
    The ID of the target route table.
    TransitGatewayPolicyTableId string
    The ID of the transit gateway policy table.
    policy_rule object
    The policy rule associated with the entry.
    policy_rule_number string
    The rule number for the policy table entry.
    target_route_table_id string
    The ID of the target route table.
    transit_gateway_policy_table_id string
    The ID of the transit gateway policy table.
    policyRule TransitGatewayPolicyTableEntryTransitGatewayPolicyRule
    The policy rule associated with the entry.
    policyRuleNumber String
    The rule number for the policy table entry.
    targetRouteTableId String
    The ID of the target route table.
    transitGatewayPolicyTableId String
    The ID of the transit gateway policy table.
    policyRule TransitGatewayPolicyTableEntryTransitGatewayPolicyRule
    The policy rule associated with the entry.
    policyRuleNumber string
    The rule number for the policy table entry.
    targetRouteTableId string
    The ID of the target route table.
    transitGatewayPolicyTableId string
    The ID of the transit gateway policy table.
    policy_rule TransitGatewayPolicyTableEntryTransitGatewayPolicyRuleArgs
    The policy rule associated with the entry.
    policy_rule_number str
    The rule number for the policy table entry.
    target_route_table_id str
    The ID of the target route table.
    transit_gateway_policy_table_id str
    The ID of the transit gateway policy table.
    policyRule Property Map
    The policy rule associated with the entry.
    policyRuleNumber String
    The rule number for the policy table entry.
    targetRouteTableId String
    The ID of the target route table.
    transitGatewayPolicyTableId String
    The ID of the transit gateway policy table.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TransitGatewayPolicyTableEntry resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The state of the policy table entry.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The state of the policy table entry.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The state of the policy table entry.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The state of the policy table entry.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The state of the policy table entry.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The state of the policy table entry.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The state of the policy table entry.

    Supporting Types

    TransitGatewayPolicyTableEntryTransitGatewayPolicyRule, TransitGatewayPolicyTableEntryTransitGatewayPolicyRuleArgs

    DestinationCidrBlock string
    The destination CIDR block for the transit gateway policy rule.
    DestinationPortRange string
    The destination port range for the transit gateway policy rule.
    Protocol string
    The protocol for the transit gateway policy rule.
    SourceCidrBlock string
    The source CIDR block for the transit gateway policy rule.
    SourcePortRange string
    The source port range for the transit gateway policy rule.
    DestinationCidrBlock string
    The destination CIDR block for the transit gateway policy rule.
    DestinationPortRange string
    The destination port range for the transit gateway policy rule.
    Protocol string
    The protocol for the transit gateway policy rule.
    SourceCidrBlock string
    The source CIDR block for the transit gateway policy rule.
    SourcePortRange string
    The source port range for the transit gateway policy rule.
    destination_cidr_block string
    The destination CIDR block for the transit gateway policy rule.
    destination_port_range string
    The destination port range for the transit gateway policy rule.
    protocol string
    The protocol for the transit gateway policy rule.
    source_cidr_block string
    The source CIDR block for the transit gateway policy rule.
    source_port_range string
    The source port range for the transit gateway policy rule.
    destinationCidrBlock String
    The destination CIDR block for the transit gateway policy rule.
    destinationPortRange String
    The destination port range for the transit gateway policy rule.
    protocol String
    The protocol for the transit gateway policy rule.
    sourceCidrBlock String
    The source CIDR block for the transit gateway policy rule.
    sourcePortRange String
    The source port range for the transit gateway policy rule.
    destinationCidrBlock string
    The destination CIDR block for the transit gateway policy rule.
    destinationPortRange string
    The destination port range for the transit gateway policy rule.
    protocol string
    The protocol for the transit gateway policy rule.
    sourceCidrBlock string
    The source CIDR block for the transit gateway policy rule.
    sourcePortRange string
    The source port range for the transit gateway policy rule.
    destination_cidr_block str
    The destination CIDR block for the transit gateway policy rule.
    destination_port_range str
    The destination port range for the transit gateway policy rule.
    protocol str
    The protocol for the transit gateway policy rule.
    source_cidr_block str
    The source CIDR block for the transit gateway policy rule.
    source_port_range str
    The source port range for the transit gateway policy rule.
    destinationCidrBlock String
    The destination CIDR block for the transit gateway policy rule.
    destinationPortRange String
    The destination port range for the transit gateway policy rule.
    protocol String
    The protocol for the transit gateway policy rule.
    sourceCidrBlock String
    The source CIDR block for the transit gateway policy rule.
    sourcePortRange String
    The source port range for the transit gateway policy rule.

    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