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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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.



46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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.



46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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.



46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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:



46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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)


46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46859

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