ClientPasswordAuthType
- class aws_cdk.aws_rds.ClientPasswordAuthType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Client password authentication type used by a proxy to log in as a specific database user.
- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc cluster = rds.DatabaseCluster(self, "Database", engine=rds.DatabaseClusterEngine.aurora_mysql( version=rds.AuroraMysqlEngineVersion.VER_3_03_0 ), writer=rds.ClusterInstance.provisioned("writer"), vpc=vpc ) proxy = rds.DatabaseProxy(self, "Proxy", proxy_target=rds.ProxyTarget.from_cluster(cluster), secrets=[cluster.secret], vpc=vpc, client_password_auth_type=rds.ClientPasswordAuthType.MYSQL_NATIVE_PASSWORD )
Attributes
- MYSQL_NATIVE_PASSWORD
MySQL Native Password client authentication type.
- POSTGRES_MD5
PostgreSQL MD5 client authentication type.
- POSTGRES_SCRAM_SHA_256
SCRAM SHA 256 client authentication type.
- SQL_SERVER_AUTHENTICATION
SQL Server Authentication client authentication type.