aws_ec2_transit_gateway_metering_policyNivis Nix constructor for the aws_ec2_transit_gateway_metering_policy resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
transit_gateway_id,
middlebox_attachment_ids ? null,
region ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
transit_gateway_id
Optional arguments
middlebox_attachment_ids(defaults tonull)region(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arntags_alltransit_gateway_metering_policy_id
Example
aws_ec2_transit_gateway_metering_policy {
name = "ec2_transit_gateway_metering_policy";
transit_gateway_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.