Class: Aws::RDS::Types::ServerlessV2ScalingConfigurationInfo

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

Overview

The scaling configuration for an Aurora Serverless v2 DB cluster.

For more information, see [Using Amazon Aurora Serverless v2] in the *Amazon Aurora User Guide*.

[1]: docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_capacityFloat

The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.

Returns:

  • (Float)


26869
26870
26871
26872
26873
26874
26875
# File 'lib/aws-sdk-rds/types.rb', line 26869

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

#min_capacityFloat

The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don’t support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.

Returns:

  • (Float)


26869
26870
26871
26872
26873
26874
26875
# File 'lib/aws-sdk-rds/types.rb', line 26869

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

#seconds_until_auto_pauseInteger

The number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it. This property is only shown when the minimum capacity for the cluster is set to 0 ACUs. Changing the minimum capacity to a nonzero value removes this property. If you later change the minimum capacity back to 0 ACUs, this property is reset to its default value unless you specify it again.

This value ranges between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.

Returns:

  • (Integer)


26869
26870
26871
26872
26873
26874
26875
# File 'lib/aws-sdk-rds/types.rb', line 26869

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