enum AuroraCapacityUnit
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.AuroraCapacityUnit |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#AuroraCapacityUnit |
Java | software.amazon.awscdk.services.rds.AuroraCapacityUnit |
Python | aws_cdk.aws_rds.AuroraCapacityUnit |
TypeScript (source) | aws-cdk-lib » aws_rds » AuroraCapacityUnit |
Aurora capacity units (ACUs).
Each ACU is a combination of processing and memory capacity.
Example
declare const vpc: ec2.Vpc;
const cluster = new rds.ServerlessCluster(this, 'AnotherCluster', {
engine: rds.DatabaseClusterEngine.AURORA_POSTGRESQL,
copyTagsToSnapshot: true, // whether to save the cluster tags when creating the snapshot. Default is 'true'
parameterGroup: rds.ParameterGroup.fromParameterGroupName(this, 'ParameterGroup', 'default.aurora-postgresql11'),
vpc,
scaling: {
autoPause: Duration.minutes(10), // default is to pause after 5 minutes of idle time
minCapacity: rds.AuroraCapacityUnit.ACU_8, // default is 2 Aurora capacity units (ACUs)
maxCapacity: rds.AuroraCapacityUnit.ACU_32, // default is 16 Aurora capacity units (ACUs)
timeout: Duration.seconds(100), // default is 5 minutes
timeoutAction: rds.TimeoutAction.FORCE_APPLY_CAPACITY_CHANGE // default is ROLLBACK_CAPACITY_CHANGE
}
});
Members
Name | Description |
---|---|
ACU_1 | 1 Aurora Capacity Unit. |
ACU_2 | 2 Aurora Capacity Units. |
ACU_4 | 4 Aurora Capacity Units. |
ACU_8 | 8 Aurora Capacity Units. |
ACU_16 | 16 Aurora Capacity Units. |
ACU_32 | 32 Aurora Capacity Units. |
ACU_64 | 64 Aurora Capacity Units. |
ACU_128 | 128 Aurora Capacity Units. |
ACU_192 | 192 Aurora Capacity Units. |
ACU_256 | 256 Aurora Capacity Units. |
ACU_384 | 384 Aurora Capacity Units. |
ACU_1
1 Aurora Capacity Unit.
ACU_2
2 Aurora Capacity Units.
ACU_4
4 Aurora Capacity Units.
ACU_8
8 Aurora Capacity Units.
ACU_16
16 Aurora Capacity Units.
ACU_32
32 Aurora Capacity Units.
ACU_64
64 Aurora Capacity Units.
ACU_128
128 Aurora Capacity Units.
ACU_192
192 Aurora Capacity Units.
ACU_256
256 Aurora Capacity Units.
ACU_384
384 Aurora Capacity Units.