Skip to content

EC2  >  Structures  >  FlexCostAllocationNetworkResourceScope

FlexCostAllocationNetworkResourceScope

Structure Class

FlexCostAllocationNetworkResourceScope dataclass

Bases: _SerdeShape

Specifies a scope of network resources for a scope-based policy association.

Attributes

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

The IDs of the resources owned by you that define the scope. You can specify from 1 to 20 IDs. This parameter is required.

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

The type of scope. This parameter is required. Valid values are account, vpc, and subnet.