Class: Aws::EC2::Types::CapacityBlockOfferingSegment

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

Overview

Describes an individual segment within a Capacity Block offering. Each segment represents a distinct block of capacity with its own Availability Zone, instance type, duration, pricing, and schedule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zone ⇒ String

The Availability Zone of the Capacity Block offering segment.

Returns:

  • (String)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#availability_zone_id ⇒ String

The ID of the Availability Zone for the Capacity Block offering segment.

Returns:

  • (String)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#capacity_block_duration_hours ⇒ Integer

The number of hours for the duration of the Capacity Block offering segment.

Returns:

  • (Integer)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#capacity_block_duration_minutes ⇒ Integer

The number of minutes for the duration of the Capacity Block offering segment.

Returns:

  • (Integer)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#currency_code ⇒ String

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

Returns:

  • (String)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#end_date ⇒ Time

The end date of the Capacity Block offering segment.

Returns:

  • (Time)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#instance_count ⇒ Integer

The number of instances in the Capacity Block offering segment.

Returns:

  • (Integer)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#instance_type ⇒ String

The instance type of the Capacity Block offering segment.

Returns:

  • (String)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#start_date ⇒ Time

The start date of the Capacity Block offering segment.

Returns:

  • (Time)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#upfront_fee ⇒ String

The total price to be paid up front for the Capacity Block offering segment.

Returns:

  • (String)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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

#zone_type ⇒ String

The type of zone where the Capacity Block offering segment is available.

Returns:

  • (String)


6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6510

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