@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:13.547Z") @Stability(value=Experimental) public interface RotationSingleUserOptions extends software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.core.*;
DatabaseInstance instance;
instance.addRotationSingleUser(RotationSingleUserOptions.builder()
.automaticallyAfter(Duration.days(7)) // defaults to 30 days
.excludeCharacters("!@#$%^&*")
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
RotationSingleUserOptions.Builder
A builder for
RotationSingleUserOptions |
static class |
RotationSingleUserOptions.Jsii$Proxy
An implementation for
RotationSingleUserOptions |
| Modifier and Type | Method and Description |
|---|---|
static RotationSingleUserOptions.Builder |
builder() |
default Duration |
getAutomaticallyAfter()
(experimental) Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
|
default IInterfaceVpcEndpoint |
getEndpoint()
(experimental) The VPC interface endpoint to use for the Secrets Manager API.
|
default String |
getExcludeCharacters()
(experimental) Specifies characters to not include in generated passwords.
|
default SubnetSelection |
getVpcSubnets()
(experimental) Where to place the rotation Lambda function.
|
@Stability(value=Experimental) @Nullable default Duration getAutomaticallyAfter()
Default: - 30 days
@Stability(value=Experimental) @Nullable default IInterfaceVpcEndpoint getEndpoint()
If you enable private DNS hostnames for your VPC private endpoint (the default), you don't
need to specify an endpoint. The standard Secrets Manager DNS hostname the Secrets Manager
CLI and SDKs use by default (https://secretsmanager.
Default: https://secretsmanager.
@Stability(value=Experimental) @Nullable default String getExcludeCharacters()
Default: " %+~`#$&*()|[]{}:;<>?!'/
@Stability(value=Experimental) @Nullable default SubnetSelection getVpcSubnets()
Default: - same placement as instance or cluster
@Stability(value=Experimental) static RotationSingleUserOptions.Builder builder()
RotationSingleUserOptions.Builder of RotationSingleUserOptionsCopyright © 2022. All rights reserved.