Enum ClientPasswordAuthType
- All Implemented Interfaces:
Serializable
,Comparable<ClientPasswordAuthType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:04.055Z")
@Stability(Stable)
public enum ClientPasswordAuthType
extends Enum<ClientPasswordAuthType>
Client password authentication type used by a proxy to log in as a specific database user.
Example:
Vpc vpc; DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database") .engine(DatabaseClusterEngine.auroraMysql(AuroraMysqlClusterEngineProps.builder() .version(AuroraMysqlEngineVersion.VER_3_03_0) .build())) .writer(ClusterInstance.provisioned("writer")) .vpc(vpc) .build(); DatabaseProxy proxy = DatabaseProxy.Builder.create(this, "Proxy") .proxyTarget(ProxyTarget.fromCluster(cluster)) .secrets(List.of(cluster.getSecret())) .vpc(vpc) .clientPasswordAuthType(ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMySQL Native Password client authentication type.PostgreSQL MD5 client authentication type.SCRAM SHA 256 client authentication type.SQL Server Authentication client authentication type. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientPasswordAuthType
Returns the enum constant of this type with the specified name.static ClientPasswordAuthType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MYSQL_NATIVE_PASSWORD
MySQL Native Password client authentication type. -
POSTGRES_SCRAM_SHA_256
SCRAM SHA 256 client authentication type. -
POSTGRES_MD5
PostgreSQL MD5 client authentication type. -
SQL_SERVER_AUTHENTICATION
SQL Server Authentication client authentication type.
-
-
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
-