AuroraCapacityUnit

class aws_cdk.aws_rds.AuroraCapacityUnit(value)

Bases: enum.Enum

Aurora capacity units (ACUs).

Each ACU is a combination of processing and memory capacity.

See

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.architecture

ExampleMetadata

infused

Example:

# vpc: ec2.Vpc


cluster = rds.ServerlessCluster(self, "AnotherCluster",
    engine=rds.DatabaseClusterEngine.AURORA_POSTGRESQL,
    parameter_group=rds.ParameterGroup.from_parameter_group_name(self, "ParameterGroup", "default.aurora-postgresql10"),
    vpc=vpc,
    scaling=rds.ServerlessScalingOptions(
        auto_pause=Duration.minutes(10),  # default is to pause after 5 minutes of idle time
        min_capacity=rds.AuroraCapacityUnit.ACU_8,  # default is 2 Aurora capacity units (ACUs)
        max_capacity=rds.AuroraCapacityUnit.ACU_32
    )
)

Attributes

ACU_1

1 Aurora Capacity Unit.

ACU_128

128 Aurora Capacity Units.

ACU_16

16 Aurora Capacity Units.

ACU_192

192 Aurora Capacity Units.

ACU_2

2 Aurora Capacity Units.

ACU_256

256 Aurora Capacity Units.

ACU_32

32 Aurora Capacity Units.

ACU_384

384 Aurora Capacity Units.

ACU_4

4 Aurora Capacity Units.

ACU_64

64 Aurora Capacity Units.

ACU_8

8 Aurora Capacity Units.