Class: Aws::RDS::Types::BranchScalingConfiguration

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

Overview

Specifies the capacity settings of a branch: its maximum capacity in Aurora capacity units (ACUs), and how long it can be idle before it pauses. The minimum capacity of a branch is always 0 ACUs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_capacity ⇒ Float

The maximum capacity of the branch, in Aurora capacity units (ACUs).

Default: 16

The following constraints apply to this parameter:

  • Must be a value from 1 to 64, in steps of 0.5.

  • For a free plan account, must be a value from 1 to 4. The default is 4.

Returns:

  • (Float)


1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1208

class BranchScalingConfiguration < Struct.new(
  :max_capacity,
  :seconds_until_auto_pause)
  SENSITIVE = []
  include Aws::Structure
end

#seconds_until_auto_pause ⇒ Integer

The number of seconds the branch can be idle before it pauses.

Default: 300 (5 minutes)

Constraints: Must be a value from 300 (5 minutes) to 86400 (24 hours).

Returns:

  • (Integer)


1208
1209
1210
1211
1212
1213
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1208

class BranchScalingConfiguration < Struct.new(
  :max_capacity,
  :seconds_until_auto_pause)
  SENSITIVE = []
  include Aws::Structure
end