Class: Aws::EC2::Types::FlexCostAllocationPolicyVersion

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

Overview

Describes a version of a flex cost allocation policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ Time

The date and time when this version of the policy was created.

Returns:

  • (Time)


46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description of this version of the policy.

Returns:

  • (String)


46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#expected_effective_at ⇒ Time

The date and time when this version of the policy is expected to apply to network traffic.

Returns:

  • (Time)


46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#fca_policy_id ⇒ String

The ID of the policy.

Returns:

  • (String)


46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#instance_fca_policy_document ⇒ Types::InstanceFlexCostAllocationPolicyDocument

The policy document that defines cost allocation for EC2 instances.



46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#nat_fca_policy_document ⇒ Types::NatFlexCostAllocationPolicyDocument

The policy document that defines cost allocation for NAT gateways.



46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#network_resource_type ⇒ String

The type of network resource that the policy applies to.

Returns:

  • (String)


46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#pcx_fca_policy_document ⇒ Types::PcxFlexCostAllocationPolicyDocument

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



46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#show_back_enabled ⇒ Boolean

Indicates whether showback reporting is enabled for this version of the policy.

Returns:

  • (Boolean)


46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#version ⇒ Integer

The version number.

Returns:

  • (Integer)


46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46926

class FlexCostAllocationPolicyVersion < Struct.new(
  :fca_policy_id,
  :version,
  :network_resource_type,
  :nat_fca_policy_document,
  :instance_fca_policy_document,
  :pcx_fca_policy_document,
  :show_back_enabled,
  :description,
  :expected_effective_at,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end