Interface RotationMultiUserOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RotationMultiUserOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.851Z")
@Stability(Experimental)
public interface RotationMultiUserOptions
extends software.amazon.jsii.JsiiSerializable
(experimental) Options to add the multi user rotation.
Example:
User user = User.Builder.create(this, "User") .cluster(cluster) .databaseName("databaseName") .build(); cluster.addRotationMultiUser("MultiUserRotation", RotationMultiUserOptions.builder() .secret(user.getSecret()) .build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forRotationMultiUserOptions
static final class
An implementation forRotationMultiUserOptions
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecret
(experimental) The secret to rotate.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> }
-
getAutomaticallyAfter
(experimental) Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.Default: Duration.days(30)
-
builder
- Returns:
- a
RotationMultiUserOptions.Builder
ofRotationMultiUserOptions
-