@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:24.517Z") @Stability(value=Stable) public interface SnapshotCredentialsFromGeneratedPasswordOptions extends software.amazon.jsii.JsiiSerializable
SnapshotCredentials.fromGeneratedPassword method.
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.*;
Key key;
SnapshotCredentialsFromGeneratedPasswordOptions snapshotCredentialsFromGeneratedPasswordOptions = SnapshotCredentialsFromGeneratedPasswordOptions.builder()
.encryptionKey(key)
.excludeCharacters("excludeCharacters")
.replicaRegions(List.of(ReplicaRegion.builder()
.region("region")
// the properties below are optional
.encryptionKey(key)
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SnapshotCredentialsFromGeneratedPasswordOptions.Builder
A builder for
SnapshotCredentialsFromGeneratedPasswordOptions |
static class |
SnapshotCredentialsFromGeneratedPasswordOptions.Jsii$Proxy
An implementation for
SnapshotCredentialsFromGeneratedPasswordOptions |
| Modifier and Type | Method and Description |
|---|---|
static SnapshotCredentialsFromGeneratedPasswordOptions.Builder |
builder() |
default IKey |
getEncryptionKey()
KMS encryption key to encrypt the generated secret.
|
default String |
getExcludeCharacters()
The characters to exclude from the generated password.
|
default List<ReplicaRegion> |
getReplicaRegions()
A list of regions where to replicate this secret.
|
@Stability(value=Stable) @Nullable default IKey getEncryptionKey()
Default: - default master key
@Stability(value=Stable) @Nullable default String getExcludeCharacters()
Default: - the DatabaseSecret default exclude character set (" %+~`#$&*()|[]{}:;<>?!'/
@Stability(value=Stable) @Nullable default List<ReplicaRegion> getReplicaRegions()
Default: - Secret is not replicated
@Stability(value=Stable) static SnapshotCredentialsFromGeneratedPasswordOptions.Builder builder()
Copyright © 2022. All rights reserved.