Class: Aws::EC2::Types::FlexCostAllocationPolicyDescription

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a flex cost allocation policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

The description of the policy.

Returns:

  • (String)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#fca_policy_arn ⇒ String

The Amazon Resource Name (ARN) of the policy.

Returns:

  • (String)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#fca_policy_id ⇒ String

The ID of the policy.

Returns:

  • (String)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#instance_fca_policy_document ⇒ Types::InstanceFlexCostAllocationPolicyDocument

The policy document that defines cost allocation for EC2 instances.



49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#latest_version ⇒ Integer

The number of the latest version of the policy.

Returns:

  • (Integer)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#managed_by ⇒ String

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.

Returns:

  • (String)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nat_fca_policy_document ⇒ Types::NatFlexCostAllocationPolicyDocument

The policy document that defines cost allocation for NAT gateways.



49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#network_resource_type ⇒ String

The type of network resource that the policy applies to.

Returns:

  • (String)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#owner_account ⇒ String

The ID of the account that owns the policy.

Returns:

  • (String)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#pcx_fca_policy_document ⇒ Types::PcxFlexCostAllocationPolicyDocument

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



49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#policy_created_at ⇒ Time

The date and time when the policy was created.

Returns:

  • (Time)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#show_back_enabled ⇒ Boolean

Indicates whether showback reporting is enabled for the policy.

Returns:

  • (Boolean)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Array<Types::Tag>

The tags assigned to the policy.

Returns:



49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

The date and time when the policy was last updated.

Returns:

  • (Time)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#version_expected_effective_at ⇒ Time

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.

Returns:

  • (Time)


49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 49644

class FlexCostAllocationPolicyDescription < Struct.new(
  :fca_policy_id,
  :fca_policy_arn,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :owner_account,
  :description,
  :latest_version,
  :version_expected_effective_at,
  :policy_created_at,
  :updated_at,
  :managed_by,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end