Skip to content

EC2  >  Structures  >  FlexCostAllocationPolicyDescription

FlexCostAllocationPolicyDescription

Structure Class

FlexCostAllocationPolicyDescription dataclass

Bases: _SerdeShape

Describes a flex cost allocation policy.

Attributes

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

The description of the policy.

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

The Amazon Resource Name (ARN) of the policy.

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

The ID of the policy.

instance_fca_policy_document class-attribute instance-attribute
instance_fca_policy_document: InstanceFlexCostAllocationPolicyDocument | None = ...

The policy document that defines cost allocation for EC2 instances.

latest_version class-attribute instance-attribute
latest_version: int | None = ...

The number of the latest version of the policy.

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

The entity that manages the policy. Valid values are:

  • account - The account that owns the policy created it.

  • declarative-policy - An Amazon Web Services Organizations declarative policy created the policy. You can't modify or delete the policy.

nat_fca_policy_document class-attribute instance-attribute
nat_fca_policy_document: NatFlexCostAllocationPolicyDocument | None = ...

The policy document that defines cost allocation for NAT gateways.

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

The type of network resource that the policy applies to.

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

The ID of the account that owns the policy.

pcx_fca_policy_document class-attribute instance-attribute
pcx_fca_policy_document: PcxFlexCostAllocationPolicyDocument | None = ...

The policy document that defines cost allocation for Amazon VPC peering connections.

policy_created_at class-attribute instance-attribute
policy_created_at: datetime | None = ...

The date and time when the policy was created.

show_back_enabled class-attribute instance-attribute
show_back_enabled: bool | None = ...

Indicates whether showback reporting is enabled for the policy.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

The tags assigned to the policy.

updated_at class-attribute instance-attribute
updated_at: datetime | None = ...

The date and time when the policy was last updated.

version_expected_effective_at class-attribute instance-attribute
version_expected_effective_at: datetime | None = ...

The date and time when the latest version of the policy is expected to apply to network traffic. The policy configuration in this response is from the latest version.