@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:48.791Z") @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.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();
| 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.