Skip to content

EC2  >  Structures  >  PcxFlexCostAllocationPolicyDocument

PcxFlexCostAllocationPolicyDocument

Structure Class

PcxFlexCostAllocationPolicyDocument dataclass

Bases: _SerdeShape

Describes the cost allocation policy document for Amazon VPC peering connections.

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. The only valid value is data-transfer.

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, peering-id, and cidr.