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
- Struct
- Aws::SecretsManager::Types::RotationRulesType
- Defined in:
- (unknown)
Overview
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
-
#automatically_after_days ⇒ Integer
Specifies the number of days between automatic scheduled rotations of the secret.
Instance Attribute Details
#automatically_after_days ⇒ Integer
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.