Skip to content

EC2  >  Structures  >  NatFlexCostAllocationPolicyDocument

NatFlexCostAllocationPolicyDocument

Structure Class

NatFlexCostAllocationPolicyDocument dataclass

Bases: _SerdeShape

Describes the cost allocation policy document for NAT gateways.

Attributes

cidr_range_specifications class-attribute instance-attribute
cidr_range_specifications: FlexCostAllocationCidrRangeSpecifications | None = ...

The CIDR range mappings to use for cost allocation. Specify this value when ReportingGranularity is cidr, and omit it otherwise.

dimensions class-attribute instance-attribute
dimensions: list[str] | None = ...

The cost dimensions to report. This parameter is required. Valid values are data-transfer and data-processing.

reporting_granularity class-attribute instance-attribute
reporting_granularity: list[str] | None = ...

The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly one value. Valid values are eni, ec2, subnet, vpc, account, and cidr.