Interface RotationMultiUserOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RotationMultiUserOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:23.799Z")
@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 classA builder forRotationMultiUserOptionsstatic final classAn 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.BuilderofRotationMultiUserOptions
-