@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.503Z") @Stability(value=Stable) public interface RotationMultiUserOptions extends software.amazon.jsii.JsiiSerializable, CommonRotationUserOptions
Example:
DatabaseInstance instance;
DatabaseSecret myImportedSecret;
instance.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() |
ISecret |
getSecret()
The secret to rotate.
|
getAutomaticallyAfter, getEndpoint, getExcludeCharacters, getVpcSubnets@Stability(value=Stable) @NotNull ISecret getSecret()
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>
}
@Stability(value=Stable) static RotationMultiUserOptions.Builder builder()
builder in interface CommonRotationUserOptionsRotationMultiUserOptions.Builder of RotationMultiUserOptionsCopyright © 2022. All rights reserved.