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
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 dictionaryThe following arguments are supported:
- Policy
Rule intNumber - The rule number of the metering policy entry
- Transit
Gateway stringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- Policy
Rule intNumber - The rule number of the metering policy entry
- Transit
Gateway stringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- policy
Rule IntegerNumber - The rule number of the metering policy entry
- transit
Gateway StringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- policy
Rule numberNumber - The rule number of the metering policy entry
- transit
Gateway stringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- policy_
rule_ intnumber - The rule number of the metering policy entry
- transit_
gateway_ strmetering_ policy_ id - The ID of the transit gateway metering policy for which the entry is being created
- policy
Rule NumberNumber - The rule number of the metering policy entry
- transit
Gateway StringMetering Policy Id - 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
- Update
Effective stringAt - 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
- Update
Effective stringAt - 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
- update
Effective StringAt - 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
- update
Effective stringAt - 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_ strat - 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
- update
Effective StringAt - 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
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
