@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:13.546Z") @Stability(value=Experimental) public interface RotationMultiUserOptions extends software.amazon.jsii.JsiiSerializable
Example:
DatabaseInstance instance;
DatabaseSecret myImportedSecret;
instance.addRotationMultiUser("MyUser", RotationMultiUserOptions.builder()
.secret(myImportedSecret)
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
RotationMultiUserOptions.Builder
A builder for
RotationMultiUserOptions |
static class |
RotationMultiUserOptions.Jsii$Proxy
An implementation for
RotationMultiUserOptions |
| Modifier and Type | Method and Description |
|---|---|
static RotationMultiUserOptions.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.
|
ISecret |
getSecret()
(experimental) The secret to rotate.
|
default SubnetSelection |
getVpcSubnets()
(experimental) Where to place the rotation Lambda function.
|
@Stability(value=Experimental) @NotNull ISecret getSecret()
It must be a JSON string with the following format:
{
"engine": <required: database engine>,
"host": <required: instance host name>,
"username": <required: username>,
"password": <required: password>,
"dbname": <optional: database name>,
"port": <optional: if not specified, default port will be used>,
"masterarn": <required: the arn of the master secret which will be used to create users/change passwords>
}
@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 RotationMultiUserOptions.Builder builder()
RotationMultiUserOptions.Builder of RotationMultiUserOptionsCopyright © 2022. All rights reserved.