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::TransitGatewayMeteringPolicy Resource Definition
Using getTransitGatewayMeteringPolicy
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 getTransitGatewayMeteringPolicy(args: GetTransitGatewayMeteringPolicyArgs, opts?: InvokeOptions): Promise<GetTransitGatewayMeteringPolicyResult>
function getTransitGatewayMeteringPolicyOutput(args: GetTransitGatewayMeteringPolicyOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayMeteringPolicyResult>def get_transit_gateway_metering_policy(transit_gateway_metering_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTransitGatewayMeteringPolicyResult
def get_transit_gateway_metering_policy_output(transit_gateway_metering_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayMeteringPolicyResult]func LookupTransitGatewayMeteringPolicy(ctx *Context, args *LookupTransitGatewayMeteringPolicyArgs, opts ...InvokeOption) (*LookupTransitGatewayMeteringPolicyResult, error)
func LookupTransitGatewayMeteringPolicyOutput(ctx *Context, args *LookupTransitGatewayMeteringPolicyOutputArgs, opts ...InvokeOption) LookupTransitGatewayMeteringPolicyResultOutput> Note: This function is named LookupTransitGatewayMeteringPolicy in the Go SDK.
public static class GetTransitGatewayMeteringPolicy
{
public static Task<GetTransitGatewayMeteringPolicyResult> InvokeAsync(GetTransitGatewayMeteringPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetTransitGatewayMeteringPolicyResult> Invoke(GetTransitGatewayMeteringPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTransitGatewayMeteringPolicyResult> getTransitGatewayMeteringPolicy(GetTransitGatewayMeteringPolicyArgs args, InvokeOptions options)
public static Output<GetTransitGatewayMeteringPolicyResult> getTransitGatewayMeteringPolicy(GetTransitGatewayMeteringPolicyArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ec2:getTransitGatewayMeteringPolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- Transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- transit
Gateway StringMetering Policy Id - The Id of the transit gateway metering policy
- transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- transit_
gateway_ strmetering_ policy_ id - The Id of the transit gateway metering policy
- transit
Gateway StringMetering Policy Id - The Id of the transit gateway metering policy
getTransitGatewayMeteringPolicy Result
The following output properties are available:
- Middlebox
Attachment List<string>Ids - Middle box attachment Ids
- State string
- State of the transit gateway metering policy
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags assigned to the transit gateway metering policy.
- Transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- Update
Effective stringAt - The timestamp at which the latest action performed on the metering policy will become effective
- Middlebox
Attachment []stringIds - Middle box attachment Ids
- State string
- State of the transit gateway metering policy
- Tag
- The tags assigned to the transit gateway metering policy.
- Transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- Update
Effective stringAt - The timestamp at which the latest action performed on the metering policy will become effective
- middlebox
Attachment List<String>Ids - Middle box attachment Ids
- state String
- State of the transit gateway metering policy
- List<Tag>
- The tags assigned to the transit gateway metering policy.
- transit
Gateway StringMetering Policy Id - The Id of the transit gateway metering policy
- update
Effective StringAt - The timestamp at which the latest action performed on the metering policy will become effective
- middlebox
Attachment string[]Ids - Middle box attachment Ids
- state string
- State of the transit gateway metering policy
- Tag[]
- The tags assigned to the transit gateway metering policy.
- transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- update
Effective stringAt - The timestamp at which the latest action performed on the metering policy will become effective
- middlebox_
attachment_ Sequence[str]ids - Middle box attachment Ids
- state str
- State of the transit gateway metering policy
- Sequence[root_Tag]
- The tags assigned to the transit gateway metering policy.
- transit_
gateway_ strmetering_ policy_ id - The Id of the transit gateway metering policy
- update_
effective_ strat - The timestamp at which the latest action performed on the metering policy will become effective
- middlebox
Attachment List<String>Ids - Middle box attachment Ids
- state String
- State of the transit gateway metering policy
- List<Property Map>
- The tags assigned to the transit gateway metering policy.
- transit
Gateway StringMetering Policy Id - The Id of the transit gateway metering policy
- update
Effective StringAt - The timestamp at which the latest action performed on the metering policy will become effective
Supporting Types
Tag
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
