Class RotationScheduleProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.secretsmanager.RotationScheduleProps.Jsii$Proxy
- All Implemented Interfaces:
RotationScheduleOptions,RotationScheduleProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
RotationScheduleProps
@Stability(Stable)
@Internal
public static final class RotationScheduleProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements RotationScheduleProps
An implementation for
RotationScheduleProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.secretsmanager.RotationScheduleProps
RotationScheduleProps.Builder, RotationScheduleProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(RotationScheduleProps.Builder builder) Constructor that initializes the object based on literal property values passed by theRotationScheduleProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal DurationSpecifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.final HostedRotationHosted rotation.final BooleanSpecifies whether to rotate the secret immediately or wait until the next scheduled rotation window.final IFunctionA Lambda function that can rotate the secret.final ISecretThe secret to rotate.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theRotationScheduleProps.Builder.
-
-
Method Details
-
getSecret
Description copied from interface:RotationSchedulePropsThe secret to rotate.If 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::SecretTargetAttachmentor anISecretreturned by theattach()method ofSecret.- Specified by:
getSecretin interfaceRotationScheduleProps
-
getAutomaticallyAfter
Description copied from interface:RotationScheduleOptionsSpecifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.The minimum value is 4 hours. The maximum value is 1000 days.
A value of zero (
Duration.days(0)) will not create RotationRules.Default: Duration.days(30)
- Specified by:
getAutomaticallyAfterin interfaceRotationScheduleOptions
-
getHostedRotation
Description copied from interface:RotationScheduleOptionsHosted rotation.Default: - either `rotationLambda` or `hostedRotation` must be specified
- Specified by:
getHostedRotationin interfaceRotationScheduleOptions
-
getRotateImmediatelyOnUpdate
Description copied from interface:RotationScheduleOptionsSpecifies whether to rotate the secret immediately or wait until the next scheduled rotation window.Default: true
- Specified by:
getRotateImmediatelyOnUpdatein interfaceRotationScheduleOptions
-
getRotationLambda
Description copied from interface:RotationScheduleOptionsA Lambda function that can rotate the secret.Default: - either `rotationLambda` or `hostedRotation` must be specified
- Specified by:
getRotationLambdain interfaceRotationScheduleOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-