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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/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.

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. You can check the attributes of your engine version or platform version to determine the specific maximum capacity supported.

Returns:

  • (Float)


27655
27656
27657
27658
27659
27660
27661
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 27655

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)


27655
27656
27657
27658
27659
27660
27661
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 27655

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)


27655
27656
27657
27658
27659
27660
27661
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 27655

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