Enum ClientPasswordAuthType

java.lang.Object
java.lang.Enum<ClientPasswordAuthType>
software.amazon.awscdk.services.rds.ClientPasswordAuthType
All Implemented Interfaces:
Serializable, Comparable<ClientPasswordAuthType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:32.209Z") @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();
 
  • Enum Constant Details

    • MYSQL_NATIVE_PASSWORD

      @Stability(Stable) public static final ClientPasswordAuthType MYSQL_NATIVE_PASSWORD
      MySQL Native Password client authentication type.
    • POSTGRES_SCRAM_SHA_256

      @Stability(Stable) public static final ClientPasswordAuthType POSTGRES_SCRAM_SHA_256
      SCRAM SHA 256 client authentication type.
    • POSTGRES_MD5

      @Stability(Stable) public static final ClientPasswordAuthType POSTGRES_MD5
      PostgreSQL MD5 client authentication type.
    • SQL_SERVER_AUTHENTICATION

      @Stability(Stable) public static final ClientPasswordAuthType SQL_SERVER_AUTHENTICATION
      SQL Server Authentication client authentication type.
  • Method Details

    • values

      public static ClientPasswordAuthType[] 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

      public static ClientPasswordAuthType valueOf(String name)
      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 name
      NullPointerException - if the argument is null