Class SecretRotationRotationRules


  • public final class SecretRotationRotationRules
    extends java.lang.Object
    • Method Detail

      • automaticallyAfterDays

        public java.util.Optional<java.lang.Integer> automaticallyAfterDays()
        Returns:
        Number of days between automatic scheduled rotations of the secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.
      • duration

        public java.util.Optional<java.lang.String> duration()
        Returns:
        The length of the rotation window in hours. For example, `3h` for a three hour window.
      • scheduleExpression

        public java.util.Optional<java.lang.String> scheduleExpression()
        Returns:
        `cron()` or `rate()` expression that defines the schedule for rotating your secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.