Enum AuroraCapacityUnit
- All Implemented Interfaces:
Serializable
,Comparable<AuroraCapacityUnit>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.881Z")
@Stability(Stable)
public enum AuroraCapacityUnit
extends Enum<AuroraCapacityUnit>
Aurora capacity units (ACUs).
Each ACU is a combination of processing and memory capacity.
Example:
Vpc vpc; ServerlessCluster cluster = ServerlessCluster.Builder.create(this, "AnotherCluster") .engine(DatabaseClusterEngine.AURORA_POSTGRESQL) .parameterGroup(ParameterGroup.fromParameterGroupName(this, "ParameterGroup", "default.aurora-postgresql10")) .vpc(vpc) .scaling(ServerlessScalingOptions.builder() .autoPause(Duration.minutes(10)) // default is to pause after 5 minutes of idle time .minCapacity(AuroraCapacityUnit.ACU_8) // default is 2 Aurora capacity units (ACUs) .maxCapacity(AuroraCapacityUnit.ACU_32) .build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription1 Aurora Capacity Unit.128 Aurora Capacity Units.16 Aurora Capacity Units.192 Aurora Capacity Units.2 Aurora Capacity Units.256 Aurora Capacity Units.32 Aurora Capacity Units.384 Aurora Capacity Units.4 Aurora Capacity Units.64 Aurora Capacity Units.8 Aurora Capacity Units. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuroraCapacityUnit
Returns the enum constant of this type with the specified name.static AuroraCapacityUnit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-