@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.445Z") @Stability(value=Experimental) public interface RotationMultiUserOptions extends software.amazon.jsii.JsiiSerializable
| 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.
|
ISecret |
getSecret()
(experimental) The secret to rotate.
|
@Stability(value=Experimental) @NotNull ISecret getSecret()
It must be a JSON string with the following format:
{
"engine": <required: must be set to 'mongo'>,
"host": <required: instance host name>,
"username": <required: username>,
"password": <required: password>,
"dbname": <optional: database name>,
"port": <optional: if not specified, default port 27017 will be used>,
"masterarn": <required: the arn of the master secret which will be used to create users/change passwords>
"ssl": <optional: if not specified, defaults to false. This must be true if being used for DocumentDB rotations
where the cluster has TLS enabled>
}
@Stability(value=Experimental) @Nullable default Duration getAutomaticallyAfter()
Default: Duration.days(30)
@Stability(value=Experimental) static RotationMultiUserOptions.Builder builder()
RotationMultiUserOptions.Builder of RotationMultiUserOptionsCopyright © 2021. All rights reserved.