@Stability(value=Stable) @Internal public static final class RotationScheduleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RotationScheduleProps
RotationSchedulePropssoftware.amazon.jsii.JsiiObject.InitializationModeRotationScheduleProps.Builder, RotationScheduleProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(RotationScheduleProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
RotationScheduleProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getAutomaticallyAfter()
Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
|
HostedRotation |
getHostedRotation()
Hosted rotation.
|
IFunction |
getRotationLambda()
A Lambda function that can rotate the secret.
|
ISecret |
getSecret()
The secret to rotate.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(RotationScheduleProps.Builder builder)
RotationScheduleProps.Builder.public final ISecret getSecret()
RotationSchedulePropsIf hosted rotation is used, this 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 for multi user rotation: the arn of the master secret which will be used to create users/change passwords>
}
This is typically the case for a secret referenced from an AWS::SecretsManager::SecretTargetAttachment
or an ISecret returned by the attach() method of Secret.
getSecret in interface RotationSchedulePropspublic final Duration getAutomaticallyAfter()
RotationScheduleOptions
A value of zero will disable automatic rotation - Duration.days(0).
Default: Duration.days(30)
getAutomaticallyAfter in interface RotationScheduleOptionspublic final HostedRotation getHostedRotation()
RotationScheduleOptionsDefault: - either `rotationLambda` or `hostedRotation` must be specified
getHostedRotation in interface RotationScheduleOptionspublic final IFunction getRotationLambda()
RotationScheduleOptionsDefault: - either `rotationLambda` or `hostedRotation` must be specified
getRotationLambda in interface RotationScheduleOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.