Class: Aws::RDS::Types::StopDBInstanceMessage

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#db_instance_identifier ⇒ String

The user-supplied instance identifier.

Returns:

  • (String)


31393
31394
31395
31396
31397
31398
31399
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 31393

class StopDBInstanceMessage < Struct.new(
  :db_instance_identifier,
  :db_snapshot_identifier,
  :detach_from_db_capacity_reservation)
  SENSITIVE = []
  include Aws::Structure
end

#db_snapshot_identifier ⇒ String

The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped.

Returns:

  • (String)


31393
31394
31395
31396
31397
31398
31399
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 31393

class StopDBInstanceMessage < Struct.new(
  :db_instance_identifier,
  :db_snapshot_identifier,
  :detach_from_db_capacity_reservation)
  SENSITIVE = []
  include Aws::Structure
end

#detach_from_db_capacity_reservation ⇒ Boolean

Specifies whether the DB instance stops using its DB capacity reservation when the DB instance stops. When you specify true, the DB instance belongs to no reservation after it stops, and a later start launches it outside the reservation.

By default, a stopped DB instance keeps its DB capacity reservation, and a later start returns the DB instance to the same reservation.

Every stop releases the unit of reserved capacity that the DB instance holds, for either value of this parameter. Another DB instance can then use that capacity. This parameter controls the reservation that the DB instance belongs to, and it does not control the release of the capacity.

If the DB instance uses no DB capacity reservation, this parameter has no effect.

Amazon RDS holds no capacity for a stopped DB instance. When the reservation has no available capacity in the Availability Zone of the DB instance, a later start waits for capacity in that Availability Zone. When the DB instance belongs to no reservation, a later start can fail because the Amazon Web Services Region has insufficient capacity for the DB instance class.

Returns:

  • (Boolean)


31393
31394
31395
31396
31397
31398
31399
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 31393

class StopDBInstanceMessage < Struct.new(
  :db_instance_identifier,
  :db_snapshot_identifier,
  :detach_from_db_capacity_reservation)
  SENSITIVE = []
  include Aws::Structure
end