Enum DBClusterStorageType
- All Implemented Interfaces:
Serializable
,Comparable<DBClusterStorageType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:25.832Z")
@Stability(Stable)
public enum DBClusterStorageType
extends Enum<DBClusterStorageType>
The storage type to be associated with the DB cluster.
Example:
Vpc vpc; DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database") .engine(DatabaseClusterEngine.auroraPostgres(AuroraPostgresClusterEngineProps.builder().version(AuroraPostgresEngineVersion.VER_15_2).build())) .credentials(Credentials.fromUsername("adminuser", CredentialsFromUsernameOptions.builder().password(SecretValue.unsafePlainText("7959866cacc02c2d243ecfe177464fe6")).build())) .writer(ClusterInstance.provisioned("writer", ProvisionedClusterInstanceProps.builder() .publiclyAccessible(false) .build())) .readers(List.of(ClusterInstance.provisioned("reader"))) .storageType(DBClusterStorageType.AURORA_IOPT1) .vpcSubnets(SubnetSelection.builder() .subnetType(SubnetType.PRIVATE_WITH_EGRESS) .build()) .vpc(vpc) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStorage type for Aurora DB standard clusters.Storage type for Aurora DB I/O-Optimized clusters. -
Method Summary
Modifier and TypeMethodDescriptionstatic DBClusterStorageType
Returns the enum constant of this type with the specified name.static DBClusterStorageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AURORA
Storage type for Aurora DB standard clusters. -
AURORA_IOPT1
Storage type for Aurora DB I/O-Optimized clusters.
-
-
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
-