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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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.



47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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.



47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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.



47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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:



47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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)


47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47366

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