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)


47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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)


47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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)


47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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)


47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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.



47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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.



47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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)


47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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.



47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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)


47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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)


47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47433

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