1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getTransitGatewayMeteringPolicyEntry

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

AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi
aws-native logo

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

AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi

    AWS::EC2::TransitGatewayMeteringPolicyEntry Resource Definition

    Using getTransitGatewayMeteringPolicyEntry

    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 getTransitGatewayMeteringPolicyEntry(args: GetTransitGatewayMeteringPolicyEntryArgs, opts?: InvokeOptions): Promise<GetTransitGatewayMeteringPolicyEntryResult>
    function getTransitGatewayMeteringPolicyEntryOutput(args: GetTransitGatewayMeteringPolicyEntryOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayMeteringPolicyEntryResult>
    def get_transit_gateway_metering_policy_entry(policy_rule_number: Optional[int] = None,
                                                  transit_gateway_metering_policy_id: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetTransitGatewayMeteringPolicyEntryResult
    def get_transit_gateway_metering_policy_entry_output(policy_rule_number: Optional[pulumi.Input[int]] = None,
                                                  transit_gateway_metering_policy_id: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayMeteringPolicyEntryResult]
    func LookupTransitGatewayMeteringPolicyEntry(ctx *Context, args *LookupTransitGatewayMeteringPolicyEntryArgs, opts ...InvokeOption) (*LookupTransitGatewayMeteringPolicyEntryResult, error)
    func LookupTransitGatewayMeteringPolicyEntryOutput(ctx *Context, args *LookupTransitGatewayMeteringPolicyEntryOutputArgs, opts ...InvokeOption) LookupTransitGatewayMeteringPolicyEntryResultOutput

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

    public static class GetTransitGatewayMeteringPolicyEntry 
    {
        public static Task<GetTransitGatewayMeteringPolicyEntryResult> InvokeAsync(GetTransitGatewayMeteringPolicyEntryArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayMeteringPolicyEntryResult> Invoke(GetTransitGatewayMeteringPolicyEntryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTransitGatewayMeteringPolicyEntryResult> getTransitGatewayMeteringPolicyEntry(GetTransitGatewayMeteringPolicyEntryArgs args, InvokeOptions options)
    public static Output<GetTransitGatewayMeteringPolicyEntryResult> getTransitGatewayMeteringPolicyEntry(GetTransitGatewayMeteringPolicyEntryArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayMeteringPolicyEntry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PolicyRuleNumber int
    The rule number of the metering policy entry
    TransitGatewayMeteringPolicyId string
    The ID of the transit gateway metering policy for which the entry is being created
    PolicyRuleNumber int
    The rule number of the metering policy entry
    TransitGatewayMeteringPolicyId string
    The ID of the transit gateway metering policy for which the entry is being created
    policyRuleNumber Integer
    The rule number of the metering policy entry
    transitGatewayMeteringPolicyId String
    The ID of the transit gateway metering policy for which the entry is being created
    policyRuleNumber number
    The rule number of the metering policy entry
    transitGatewayMeteringPolicyId string
    The ID of the transit gateway metering policy for which the entry is being created
    policy_rule_number int
    The rule number of the metering policy entry
    transit_gateway_metering_policy_id str
    The ID of the transit gateway metering policy for which the entry is being created
    policyRuleNumber Number
    The rule number of the metering policy entry
    transitGatewayMeteringPolicyId String
    The ID of the transit gateway metering policy for which the entry is being created

    getTransitGatewayMeteringPolicyEntry Result

    The following output properties are available:

    State string
    State of the transit gateway metering policy
    UpdateEffectiveAt string
    The timestamp at which the latest action performed on the metering policy entry will become effective
    State string
    State of the transit gateway metering policy
    UpdateEffectiveAt string
    The timestamp at which the latest action performed on the metering policy entry will become effective
    state String
    State of the transit gateway metering policy
    updateEffectiveAt String
    The timestamp at which the latest action performed on the metering policy entry will become effective
    state string
    State of the transit gateway metering policy
    updateEffectiveAt string
    The timestamp at which the latest action performed on the metering policy entry will become effective
    state str
    State of the transit gateway metering policy
    update_effective_at str
    The timestamp at which the latest action performed on the metering policy entry will become effective
    state String
    State of the transit gateway metering policy
    updateEffectiveAt String
    The timestamp at which the latest action performed on the metering policy entry will become effective

    Package Details

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

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

    AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate