Skip to content

EC2  >  Structures  >  FlexCostAllocationCidrRangeSpecifications

FlexCostAllocationCidrRangeSpecifications

Structure Class

FlexCostAllocationCidrRangeSpecifications dataclass

Bases: _SerdeShape

Specifies the CIDR ranges and labels to use for cost allocation when the reporting granularity is cidr.

Attributes

prefixes class-attribute instance-attribute
prefixes: list[FlexCostAllocationCidrMapping] | None = ...

The CIDR range to label mappings. You can specify from 1 to 100 mappings. This parameter is required.

prefixes_type class-attribute instance-attribute
prefixes_type: str | None = ...

The type of prefixes to use. This parameter is required. Valid values are source-prefixes and destination-prefixes.