@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:28.680Z") @Stability(value=Stable) public interface RotationMultiUserOptions extends software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.services.secretsmanager.*; Secret myImportedSecret; DatabaseCluster cluster; cluster.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()
Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
|
ISecret |
getSecret()
The secret to rotate.
|
@Stability(value=Stable) @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=Stable) @Nullable default Duration getAutomaticallyAfter()
Default: Duration.days(30)
@Stability(value=Stable) static RotationMultiUserOptions.Builder builder()
RotationMultiUserOptions.Builder
of RotationMultiUserOptions
Copyright © 2023. All rights reserved.