Interface RotationMultiUserOptions
- All Superinterfaces:
CommonRotationUserOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RotationMultiUserOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:43.940Z")
@Stability(Stable)
public interface RotationMultiUserOptions
extends software.amazon.jsii.JsiiSerializable, CommonRotationUserOptions
Options to add the multi user rotation.
Example:
DatabaseInstance instance;
DatabaseSecret myImportedSecret;
instance.addRotationMultiUser("MyUser", RotationMultiUserOptions.builder()
.secret(myImportedSecret)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forRotationMultiUserOptionsstatic final classAn implementation forRotationMultiUserOptions -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.rds.CommonRotationUserOptions
getAutomaticallyAfter, getEndpoint, getExcludeCharacters, getRotateImmediatelyOnUpdate, getSecurityGroup, getVpcSubnetsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecret
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> } -
builder
- Returns:
- a
RotationMultiUserOptions.BuilderofRotationMultiUserOptions
-