@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.434Z") @Stability(value=Stable) public interface CredentialsFromUsernameOptions extends software.amazon.jsii.JsiiSerializable, CredentialsBaseOptions
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.kms.*;
import software.amazon.awscdk.services.rds.*;
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CredentialsFromUsernameOptions.Builder
A builder for
CredentialsFromUsernameOptions |
static class |
CredentialsFromUsernameOptions.Jsii$Proxy
An implementation for
CredentialsFromUsernameOptions |
| Modifier and Type | Method and Description |
|---|---|
static CredentialsFromUsernameOptions.Builder |
builder() |
default SecretValue |
getPassword()
Password.
|
getEncryptionKey, getExcludeCharacters, getReplicaRegions, getSecretName@Stability(value=Stable) @Nullable default SecretValue getPassword()
Do not put passwords in your CDK code directly.
Default: - a Secrets Manager generated password
@Stability(value=Stable) static CredentialsFromUsernameOptions.Builder builder()
builder in interface CredentialsBaseOptionsCredentialsFromUsernameOptions.Builder of CredentialsFromUsernameOptionsCopyright © 2022. All rights reserved.