Class: Aws::EC2::Types::CapacityBlockExtensionOffering

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

Overview

The recommended Capacity Block extension that fits your search requirements.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone of the Capacity Block that will be extended.

Returns:

  • (String)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone_idString

The Availability Zone ID of the Capacity Block that will be extended.

Returns:

  • (String)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_duration_hoursInteger

The amount of time of the Capacity Block extension offering in hours.

Returns:

  • (Integer)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_end_dateTime

The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block’s state changes to ‘expired` when it reaches its end date

Returns:

  • (Time)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_offering_idString

The ID of the Capacity Block extension offering.

Returns:

  • (String)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_start_dateTime

The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.

Returns:

  • (Time)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#currency_codeString

The currency of the payment for the Capacity Block extension offering.

Returns:

  • (String)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#instance_countInteger

The number of instances in the Capacity Block extension offering.

Returns:

  • (Integer)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The instance type of the Capacity Block that will be extended.

Returns:

  • (String)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#start_dateTime

The start date of the Capacity Block that will be extended.

Returns:

  • (Time)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#tenancyString

Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:

  • ‘default` - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.

  • ‘dedicated` - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Returns:

  • (String)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_feeString

The total price of the Capacity Block extension offering, to be paid up front.

Returns:

  • (String)


4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
# File 'lib/aws-sdk-ec2/types.rb', line 4827

class CapacityBlockExtensionOffering < Struct.new(
  :capacity_block_extension_offering_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :start_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :capacity_block_extension_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy)
  SENSITIVE = []
  include Aws::Structure
end