aws_ec2_transit_gateway_metering_policy

Nivis 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 to null)
  • region (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • tags_all
  • transit_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.