We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Policy
Rule Pulumi.Aws Native. Ec2. Inputs. Transit Gateway Policy Table Entry Transit Gateway Policy Rule - The policy rule associated with the entry.
- Policy
Rule stringNumber - The rule number for the policy table entry.
- Target
Route stringTable Id - The ID of the target route table.
- Transit
Gateway stringPolicy Table Id - The ID of the transit gateway policy table.
- Policy
Rule TransitGateway Policy Table Entry Transit Gateway Policy Rule Args - The policy rule associated with the entry.
- Policy
Rule stringNumber - The rule number for the policy table entry.
- Target
Route stringTable Id - The ID of the target route table.
- Transit
Gateway stringPolicy Table Id - The ID of the transit gateway policy table.
- policy_
rule object - The policy rule associated with the entry.
- policy_
rule_ stringnumber - The rule number for the policy table entry.
- target_
route_ stringtable_ id - The ID of the target route table.
- transit_
gateway_ stringpolicy_ table_ id - The ID of the transit gateway policy table.
- policy
Rule TransitGateway Policy Table Entry Transit Gateway Policy Rule - The policy rule associated with the entry.
- policy
Rule StringNumber - The rule number for the policy table entry.
- target
Route StringTable Id - The ID of the target route table.
- transit
Gateway StringPolicy Table Id - The ID of the transit gateway policy table.
- policy
Rule TransitGateway Policy Table Entry Transit Gateway Policy Rule - The policy rule associated with the entry.
- policy
Rule stringNumber - The rule number for the policy table entry.
- target
Route stringTable Id - The ID of the target route table.
- transit
Gateway stringPolicy Table Id - The ID of the transit gateway policy table.
- policy_
rule TransitGateway Policy Table Entry Transit Gateway Policy Rule Args - The policy rule associated with the entry.
- policy_
rule_ strnumber - The rule number for the policy table entry.
- target_
route_ strtable_ id - The ID of the target route table.
- transit_
gateway_ strpolicy_ table_ id - The ID of the transit gateway policy table.
- policy
Rule Property Map - The policy rule associated with the entry.
- policy
Rule StringNumber - The rule number for the policy table entry.
- target
Route StringTable Id - The ID of the target route table.
- transit
Gateway StringPolicy Table Id - 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:
Supporting Types
TransitGatewayPolicyTableEntryTransitGatewayPolicyRule, TransitGatewayPolicyTableEntryTransitGatewayPolicyRuleArgs
- Destination
Cidr stringBlock - The destination CIDR block for the transit gateway policy rule.
- Destination
Port stringRange - The destination port range for the transit gateway policy rule.
- Protocol string
- The protocol for the transit gateway policy rule.
- Source
Cidr stringBlock - The source CIDR block for the transit gateway policy rule.
- Source
Port stringRange - The source port range for the transit gateway policy rule.
- Destination
Cidr stringBlock - The destination CIDR block for the transit gateway policy rule.
- Destination
Port stringRange - The destination port range for the transit gateway policy rule.
- Protocol string
- The protocol for the transit gateway policy rule.
- Source
Cidr stringBlock - The source CIDR block for the transit gateway policy rule.
- Source
Port stringRange - The source port range for the transit gateway policy rule.
- destination_
cidr_ stringblock - The destination CIDR block for the transit gateway policy rule.
- destination_
port_ stringrange - The destination port range for the transit gateway policy rule.
- protocol string
- The protocol for the transit gateway policy rule.
- source_
cidr_ stringblock - The source CIDR block for the transit gateway policy rule.
- source_
port_ stringrange - The source port range for the transit gateway policy rule.
- destination
Cidr StringBlock - The destination CIDR block for the transit gateway policy rule.
- destination
Port StringRange - The destination port range for the transit gateway policy rule.
- protocol String
- The protocol for the transit gateway policy rule.
- source
Cidr StringBlock - The source CIDR block for the transit gateway policy rule.
- source
Port StringRange - The source port range for the transit gateway policy rule.
- destination
Cidr stringBlock - The destination CIDR block for the transit gateway policy rule.
- destination
Port stringRange - The destination port range for the transit gateway policy rule.
- protocol string
- The protocol for the transit gateway policy rule.
- source
Cidr stringBlock - The source CIDR block for the transit gateway policy rule.
- source
Port stringRange - The source port range for the transit gateway policy rule.
- destination_
cidr_ strblock - The destination CIDR block for the transit gateway policy rule.
- destination_
port_ strrange - The destination port range for the transit gateway policy rule.
- protocol str
- The protocol for the transit gateway policy rule.
- source_
cidr_ strblock - The source CIDR block for the transit gateway policy rule.
- source_
port_ strrange - The source port range for the transit gateway policy rule.
- destination
Cidr StringBlock - The destination CIDR block for the transit gateway policy rule.
- destination
Port StringRange - The destination port range for the transit gateway policy rule.
- protocol String
- The protocol for the transit gateway policy rule.
- source
Cidr StringBlock - The source CIDR block for the transit gateway policy rule.
- source
Port StringRange - The source port range for the transit gateway policy rule.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi