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)


6837
6838
6839
6840
6841
6842
6843
6844
6845
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6837

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)


6837
6838
6839
6840
6841
6842
6843
6844
6845
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6837

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)


6837
6838
6839
6840
6841
6842
6843
6844
6845
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6837

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)


6837
6838
6839
6840
6841
6842
6843
6844
6845
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6837

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)


6837
6838
6839
6840
6841
6842
6843
6844
6845
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6837

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