Interface CredentialsFromUsernameOptions
- All Superinterfaces:
CredentialsBaseOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CredentialsFromUsernameOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.088Z")
@Stability(Stable)
public interface CredentialsFromUsernameOptions
extends software.amazon.jsii.JsiiSerializable, CredentialsBaseOptions
Options for creating Credentials from a username.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kms.*; import software.amazon.awscdk.services.rds.*; import software.amazon.awscdk.core.*; Key key; SecretValue secretValue; CredentialsFromUsernameOptions credentialsFromUsernameOptions = CredentialsFromUsernameOptions.builder() .encryptionKey(key) .excludeCharacters("excludeCharacters") .password(secretValue) .replicaRegions(List.of(ReplicaRegion.builder() .region("region") // the properties below are optional .encryptionKey(key) .build())) .secretName("secretName") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCredentialsFromUsernameOptions
static final class
An implementation forCredentialsFromUsernameOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.rds.CredentialsBaseOptions
getEncryptionKey, getExcludeCharacters, getReplicaRegions, getSecretName
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPassword
Password.Do not put passwords in your CDK code directly.
Default: - a Secrets Manager generated password
-
builder
-