Class RotationScheduleOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.secretsmanager.RotationScheduleOptions.Jsii$Proxy
All Implemented Interfaces:
RotationScheduleOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
RotationScheduleOptions

@Stability(Stable) @Internal public static final class RotationScheduleOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RotationScheduleOptions
An implementation for RotationScheduleOptions
  • 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

      protected Jsii$Proxy(RotationScheduleOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RotationScheduleOptions.Builder.
  • Method Details

    • getAutomaticallyAfter

      public final Duration getAutomaticallyAfter()
      Description copied from interface: RotationScheduleOptions
      Specifies 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:
      getAutomaticallyAfter in interface RotationScheduleOptions
    • getHostedRotation

      public final HostedRotation getHostedRotation()
      Description copied from interface: RotationScheduleOptions
      Hosted rotation.

      Default: - either `rotationLambda` or `hostedRotation` must be specified

      Specified by:
      getHostedRotation in interface RotationScheduleOptions
    • getRotateImmediatelyOnUpdate

      public final Boolean getRotateImmediatelyOnUpdate()
      Description copied from interface: RotationScheduleOptions
      Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window.

      Default: true

      Specified by:
      getRotateImmediatelyOnUpdate in interface RotationScheduleOptions
    • getRotationLambda

      public final IFunction getRotationLambda()
      Description copied from interface: RotationScheduleOptions
      A Lambda function that can rotate the secret.

      Default: - either `rotationLambda` or `hostedRotation` must be specified

      Specified by:
      getRotationLambda in interface RotationScheduleOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object