enum ClientPasswordAuthType
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.RDS.ClientPasswordAuthType | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#ClientPasswordAuthType | 
|  Java | software.amazon.awscdk.services.rds.ClientPasswordAuthType | 
|  Python | aws_cdk.aws_rds.ClientPasswordAuthType | 
|  TypeScript (source) | aws-cdk-lib»aws_rds»ClientPasswordAuthType | 
Client password authentication type used by a proxy to log in as a specific database user.
Example
declare const vpc: ec2.Vpc;
const cluster = new rds.DatabaseCluster(this, 'Database', {
  engine: rds.DatabaseClusterEngine.auroraMysql({
    version: rds.AuroraMysqlEngineVersion.VER_3_03_0,
  }),
  writer: rds.ClusterInstance.provisioned('writer'),
  vpc,
});
const proxy = new rds.DatabaseProxy(this, 'Proxy', {
  proxyTarget: rds.ProxyTarget.fromCluster(cluster),
  secrets: [cluster.secret!],
  vpc,
  clientPasswordAuthType: rds.ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD,
});
Members
| Name | Description | 
|---|---|
| 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. | 
| MYSQL_CACHING_SHA2_PASSWORD | MySQL Caching SHA2 Password client authentication type. | 
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.
MYSQL_CACHING_SHA2_PASSWORD
MySQL Caching SHA2 Password client authentication type.
