You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecretsManager::Types::RotationRulesType

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RotationRulesType as input to an Aws::Client method, you can use a vanilla Hash:

{
  automatically_after_days: 1,
}

A structure that defines the rotation configuration for the secret.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#automatically_after_daysInteger

Specifies the number of days between automatic scheduled rotations of the secret.

Secrets Manager schedules the next rotation when the previous one is complete. Secrets Manager schedules the date by adding the rotation interval (number of days) to the actual date of the last rotation. The service chooses the hour within that 24-hour date window randomly. The minute is also chosen somewhat randomly, but weighted towards the top of the hour and influenced by a variety of factors that help distribute load.

Returns:

  • (Integer)

    Specifies the number of days between automatic scheduled rotations of the secret.