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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-secretsmanager/types.rb

Overview

Note:

When making an API call, you may pass RotationRulesType data as a hash:

{
  automatically_after_days: 1,
}

A structure that defines the rotation configuration for the secret.

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)


1658
1659
1660
1661
# File 'lib/aws-sdk-secretsmanager/types.rb', line 1658

class RotationRulesType < Struct.new(
  :automatically_after_days)
  include Aws::Structure
end