@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:13.558Z") @Stability(value=Experimental) 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()
(experimental) KMS encryption key to encrypt the generated secret.
|
default String |
getExcludeCharacters()
(experimental) The characters to exclude from the generated password.
|
default List<ReplicaRegion> |
getReplicaRegions()
(experimental) A list of regions where to replicate this secret.
|
@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
Default: - default master key
@Stability(value=Experimental) @Nullable default String getExcludeCharacters()
Default: - the DatabaseSecret default exclude character set (" %+~`#$&*()|[]{}:;<>?!'/
@Stability(value=Experimental) @Nullable default List<ReplicaRegion> getReplicaRegions()
Default: - Secret is not replicated
@Stability(value=Experimental) static SnapshotCredentialsFromGeneratedPasswordOptions.Builder builder()
Copyright © 2022. All rights reserved.