Class: Aws::EC2::Types::CapacityReservationAdjustmentDetails

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

Overview

Describes the configuration that a Capacity Reservation will have after a pending adjustment is applied.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commitment_duration ⇒ Integer

The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.

Returns:

  • (Integer)


7277
7278
7279
7280
7281
7282
7283
7284
7285
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7277

class CapacityReservationAdjustmentDetails < Struct.new(
  :start_date,
  :end_date,
  :commitment_end_date,
  :end_date_type,
  :commitment_duration)
  SENSITIVE = []
  include Aws::Structure
end

#commitment_end_date ⇒ Time

The date and time at which the commitment duration will expire after the adjustment.

Returns:

  • (Time)


7277
7278
7279
7280
7281
7282
7283
7284
7285
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7277

class CapacityReservationAdjustmentDetails < Struct.new(
  :start_date,
  :end_date,
  :commitment_end_date,
  :end_date_type,
  :commitment_duration)
  SENSITIVE = []
  include Aws::Structure
end

#end_date ⇒ Time

The end date that the Capacity Reservation will have after the adjustment.

Returns:

  • (Time)


7277
7278
7279
7280
7281
7282
7283
7284
7285
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7277

class CapacityReservationAdjustmentDetails < Struct.new(
  :start_date,
  :end_date,
  :commitment_end_date,
  :end_date_type,
  :commitment_duration)
  SENSITIVE = []
  include Aws::Structure
end

#end_date_type ⇒ String

Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it.

  • limited - The Capacity Reservation expires automatically at the date and time given by endDate.

Returns:

  • (String)


7277
7278
7279
7280
7281
7282
7283
7284
7285
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7277

class CapacityReservationAdjustmentDetails < Struct.new(
  :start_date,
  :end_date,
  :commitment_end_date,
  :end_date_type,
  :commitment_duration)
  SENSITIVE = []
  include Aws::Structure
end

#start_date ⇒ Time

The start date that the Capacity Reservation will have after the adjustment.

Returns:

  • (Time)


7277
7278
7279
7280
7281
7282
7283
7284
7285
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7277

class CapacityReservationAdjustmentDetails < Struct.new(
  :start_date,
  :end_date,
  :commitment_end_date,
  :end_date_type,
  :commitment_duration)
  SENSITIVE = []
  include Aws::Structure
end