Class CfnRotationScheduleProps.Jsii$Proxy
- All Implemented Interfaces:
CfnRotationScheduleProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRotationScheduleProps
CfnRotationScheduleProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.secretsmanager.CfnRotationScheduleProps
CfnRotationScheduleProps.Builder, CfnRotationScheduleProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnRotationScheduleProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final Object
Creates a new Lambda rotation function based on one of the Secrets Manager rotation function templates .final Object
Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window.final String
The ARN of an existing Lambda rotation function.final Object
A structure that defines the rotation configuration for this secret.final String
The ARN or name of the secret to rotate.final int
hashCode()
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 theCfnRotationScheduleProps.Builder
.
-
-
Method Details
-
getSecretId
Description copied from interface:CfnRotationScheduleProps
The ARN or name of the secret to rotate.To reference a secret also created in this template, use the Ref function with the secret's logical ID.
- Specified by:
getSecretId
in interfaceCfnRotationScheduleProps
-
getHostedRotationLambda
Description copied from interface:CfnRotationScheduleProps
Creates a new Lambda rotation function based on one of the Secrets Manager rotation function templates . To use a rotation function that already exists, specifyRotationLambdaARN
instead.For Amazon RDS master user credentials, see AWS::RDS::DBCluster MasterUserSecret .
- Specified by:
getHostedRotationLambda
in interfaceCfnRotationScheduleProps
-
getRotateImmediatelyOnUpdate
Description copied from interface:CfnRotationScheduleProps
Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window.The rotation schedule is defined in
RotationRules
.If you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the
testSecret
step of the Lambda rotation function. The test creates anAWSPENDING
version of the secret and then removes it.If you don't specify this value, then by default, Secrets Manager rotates the secret immediately.
Rotation is an asynchronous process. For more information, see How rotation works .
- Specified by:
getRotateImmediatelyOnUpdate
in interfaceCfnRotationScheduleProps
-
getRotationLambdaArn
Description copied from interface:CfnRotationScheduleProps
The ARN of an existing Lambda rotation function.To specify a rotation function that is also defined in this template, use the Ref function.
For Amazon RDS master user credentials, see AWS::RDS::DBCluster MasterUserSecret .
To create a new rotation function based on one of the Secrets Manager rotation function templates , specify
HostedRotationLambda
instead.- Specified by:
getRotationLambdaArn
in interfaceCfnRotationScheduleProps
-
getRotationRules
Description copied from interface:CfnRotationScheduleProps
A structure that defines the rotation configuration for this secret.- Specified by:
getRotationRules
in interfaceCfnRotationScheduleProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-