Class CfnRotationSchedule.RotationRulesProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRotationSchedule.RotationRulesProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRotationSchedule.RotationRulesProperty
CfnRotationSchedule.RotationRulesProperty
-
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.CfnRotationSchedule.RotationRulesProperty
CfnRotationSchedule.RotationRulesProperty.Builder, CfnRotationSchedule.RotationRulesProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnRotationSchedule.RotationRulesProperty.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 Number
The number of days between automatic scheduled rotations of the secret.final String
The length of the rotation window in hours, for example3h
for a three hour window.final String
Acron()
orrate()
expression that defines the schedule for rotating your secret.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 theCfnRotationSchedule.RotationRulesProperty.Builder
.
-
-
Method Details
-
getAutomaticallyAfterDays
Description copied from interface:CfnRotationSchedule.RotationRulesProperty
The number of days between automatic scheduled rotations of the secret.You can use this value to check that your secret meets your compliance guidelines for how often secrets must be rotated.
In
DescribeSecret
andListSecrets
, this value is calculated from the rotation schedule after every successful rotation. InRotateSecret
, you can set the rotation schedule inRotationRules
withAutomaticallyAfterDays
orScheduleExpression
, but not both.- Specified by:
getAutomaticallyAfterDays
in interfaceCfnRotationSchedule.RotationRulesProperty
-
getDuration
Description copied from interface:CfnRotationSchedule.RotationRulesProperty
The length of the rotation window in hours, for example3h
for a three hour window.Secrets Manager rotates your secret at any time during this window. The window must not extend into the next rotation window or the next UTC day. The window starts according to the
ScheduleExpression
. If you don't specify aDuration
, for aScheduleExpression
in hours, the window automatically closes after one hour. For aScheduleExpression
in days, the window automatically closes at the end of the UTC day. For more information, including examples, see Schedule expressions in Secrets Manager rotation in the Secrets Manager Users Guide .- Specified by:
getDuration
in interfaceCfnRotationSchedule.RotationRulesProperty
-
getScheduleExpression
Description copied from interface:CfnRotationSchedule.RotationRulesProperty
Acron()
orrate()
expression that defines the schedule for rotating your secret.Secrets Manager rotation schedules use UTC time zone. Secrets Manager rotates your secret any time during a rotation window.
Secrets Manager
rate()
expressions represent the interval in hours or days that you want to rotate your secret, for examplerate(12 hours)
orrate(10 days)
. You can rotate a secret as often as every four hours. If you use arate()
expression, the rotation window starts at midnight. For a rate in hours, the default rotation window closes after one hour. For a rate in days, the default rotation window closes at the end of the day. You can set theDuration
to change the rotation window. The rotation window must not extend into the next UTC day or into the next rotation window.You can use a
cron()
expression to create a rotation schedule that is more detailed than a rotation interval. For more information, including examples, see Schedule expressions in Secrets Manager rotation in the Secrets Manager Users Guide . For a cron expression that represents a schedule in hours, the default rotation window closes after one hour. For a cron expression that represents a schedule in days, the default rotation window closes at the end of the day. You can set theDuration
to change the rotation window. The rotation window must not extend into the next UTC day or into the next rotation window.- Specified by:
getScheduleExpression
in interfaceCfnRotationSchedule.RotationRulesProperty
-
$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()
-