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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-secretsmanager/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.

Constant Summary collapse

SENSITIVE =
[]

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)


1833
1834
1835
1836
1837
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 1833

class RotationRulesType < Struct.new(
  :automatically_after_days)
  SENSITIVE = []
  include Aws::Structure
end