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
published on Monday, Aug 24, 2026 by Pulumi
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
published on Monday, Aug 24, 2026 by Pulumi
AWS::EC2::TransitGatewayPolicyTableEntry Resource Definition
Using getTransitGatewayPolicyTableEntry
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 getTransitGatewayPolicyTableEntry(args: GetTransitGatewayPolicyTableEntryArgs, opts?: InvokeOptions): Promise<GetTransitGatewayPolicyTableEntryResult>
function getTransitGatewayPolicyTableEntryOutput(args: GetTransitGatewayPolicyTableEntryOutputArgs, opts?: InvokeOutputOptions): Output<GetTransitGatewayPolicyTableEntryResult>def get_transit_gateway_policy_table_entry(policy_rule_number: Optional[str] = None,
transit_gateway_policy_table_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTransitGatewayPolicyTableEntryResult
def get_transit_gateway_policy_table_entry_output(policy_rule_number: pulumi.Input[Optional[str]] = None,
transit_gateway_policy_table_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTransitGatewayPolicyTableEntryResult]func LookupTransitGatewayPolicyTableEntry(ctx *Context, args *LookupTransitGatewayPolicyTableEntryArgs, opts ...InvokeOption) (*LookupTransitGatewayPolicyTableEntryResult, error)
func LookupTransitGatewayPolicyTableEntryOutput(ctx *Context, args *LookupTransitGatewayPolicyTableEntryOutputArgs, opts ...InvokeOption) LookupTransitGatewayPolicyTableEntryResultOutput> Note: This function is named LookupTransitGatewayPolicyTableEntry in the Go SDK.
public static class GetTransitGatewayPolicyTableEntry
{
public static Task<GetTransitGatewayPolicyTableEntryResult> InvokeAsync(GetTransitGatewayPolicyTableEntryArgs args, InvokeOptions? opts = null)
public static Output<GetTransitGatewayPolicyTableEntryResult> Invoke(GetTransitGatewayPolicyTableEntryInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTransitGatewayPolicyTableEntryResult> Invoke(GetTransitGatewayPolicyTableEntryInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTransitGatewayPolicyTableEntryResult> getTransitGatewayPolicyTableEntry(GetTransitGatewayPolicyTableEntryArgs args, InvokeOptions options)
public static Output<GetTransitGatewayPolicyTableEntryResult> getTransitGatewayPolicyTableEntry(GetTransitGatewayPolicyTableEntryArgs args, InvokeOptions options)
public static Output<GetTransitGatewayPolicyTableEntryResult> getTransitGatewayPolicyTableEntry(GetTransitGatewayPolicyTableEntryArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:ec2:getTransitGatewayPolicyTableEntry
arguments:
# arguments dictionarydata "aws-native_ec2_get_transit_gateway_policy_table_entry" "name" {
# arguments
}The following arguments are supported:
- Policy
Rule stringNumber - The rule number for the policy table entry.
- Transit
Gateway stringPolicy Table Id - The ID of the transit gateway policy table.
- Policy
Rule stringNumber - The rule number for the policy table entry.
- Transit
Gateway stringPolicy Table Id - The ID of the transit gateway policy table.
- policy_
rule_ stringnumber - The rule number for the policy table entry.
- transit_
gateway_ stringpolicy_ table_ id - The ID of the transit gateway policy table.
- policy
Rule StringNumber - The rule number for the policy table entry.
- transit
Gateway StringPolicy Table Id - The ID of the transit gateway policy table.
- policy
Rule stringNumber - The rule number for the policy table entry.
- transit
Gateway stringPolicy Table Id - The ID of the transit gateway policy table.
- policy_
rule_ strnumber - The rule number for the policy table entry.
- transit_
gateway_ strpolicy_ table_ id - The ID of the transit gateway policy table.
- policy
Rule StringNumber - The rule number for the policy table entry.
- transit
Gateway StringPolicy Table Id - The ID of the transit gateway policy table.
getTransitGatewayPolicyTableEntry Result
The following output properties are available:
- Policy
Rule Pulumi.Aws Native. Ec2. Outputs. Transit Gateway Policy Table Entry Transit Gateway Policy Rule - The policy rule associated with the entry.
- State string
- The state of the policy table entry.
- Target
Route stringTable Id - The ID of the target route table.
- Policy
Rule TransitGateway Policy Table Entry Transit Gateway Policy Rule - The policy rule associated with the entry.
- State string
- The state of the policy table entry.
- Target
Route stringTable Id - The ID of the target route table.
- policy_
rule object - The policy rule associated with the entry.
- state string
- The state of the policy table entry.
- target_
route_ stringtable_ id - The ID of the target route table.
- policy
Rule TransitGateway Policy Table Entry Transit Gateway Policy Rule - The policy rule associated with the entry.
- state String
- The state of the policy table entry.
- target
Route StringTable Id - The ID of the target route table.
- policy
Rule TransitGateway Policy Table Entry Transit Gateway Policy Rule - The policy rule associated with the entry.
- state string
- The state of the policy table entry.
- target
Route stringTable Id - The ID of the target route table.
- policy_
rule TransitGateway Policy Table Entry Transit Gateway Policy Rule - The policy rule associated with the entry.
- state str
- The state of the policy table entry.
- target_
route_ strtable_ id - The ID of the target route table.
- policy
Rule Property Map - The policy rule associated with the entry.
- state String
- The state of the policy table entry.
- target
Route StringTable Id - The ID of the target route table.
Supporting Types
TransitGatewayPolicyTableEntryTransitGatewayPolicyRule
- 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.
Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi