Class: Aws::EC2::Types::CapacityBlockOffering

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

Overview

The recommended Capacity Block 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 offering.

Returns:

  • (String)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_duration_hoursInteger

The number of hours (in addition to ‘capacityBlockDurationMinutes`) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 04:55 and ends at 11:30, the hours field would be 6.

Returns:

  • (Integer)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_duration_minutesInteger

The number of minutes (in addition to ‘capacityBlockDurationHours`) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 08:55 and ends at 11:30, the minutes field would be 35.

Returns:

  • (Integer)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_offering_idString

The ID of the Capacity Block offering.

Returns:

  • (String)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#currency_codeString

The currency of the payment for the Capacity Block.

Returns:

  • (String)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#end_dateTime

The end date of the Capacity Block offering.

Returns:

  • (Time)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#instance_countInteger

The number of instances in the Capacity Block offering.

Returns:

  • (Integer)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The instance type of the Capacity Block offering.

Returns:

  • (String)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#start_dateTime

The start date of the Capacity Block offering.

Returns:

  • (Time)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#tenancyString

The tenancy of the Capacity Block.

Returns:

  • (String)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_feeString

The total price to be paid up front.

Returns:

  • (String)


4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/aws-sdk-ec2/types.rb', line 4898

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :capacity_block_duration_minutes)
  SENSITIVE = []
  include Aws::Structure
end