libZSservicesZSamazonka-secretsmanagerZSamazonka-secretsmanager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecretsManager.Types.RotationRulesType

Description

 
Synopsis

Documentation

data RotationRulesType Source #

A structure that defines the rotation configuration for the secret.

See: newRotationRulesType smart constructor.

Constructors

RotationRulesType' 

Fields

  • automaticallyAfterDays :: Maybe Natural

    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.

Instances

Instances details
Eq RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Read RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Show RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Generic RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Associated Types

type Rep RotationRulesType :: Type -> Type #

NFData RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Methods

rnf :: RotationRulesType -> () #

Hashable RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

ToJSON RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

FromJSON RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

type Rep RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

type Rep RotationRulesType = D1 ('MetaData "RotationRulesType" "Amazonka.SecretsManager.Types.RotationRulesType" "libZSservicesZSamazonka-secretsmanagerZSamazonka-secretsmanager" 'False) (C1 ('MetaCons "RotationRulesType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "automaticallyAfterDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newRotationRulesType :: RotationRulesType Source #

Create a value of RotationRulesType with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:automaticallyAfterDays:RotationRulesType', rotationRulesType_automaticallyAfterDays - 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.

rotationRulesType_automaticallyAfterDays :: Lens' RotationRulesType (Maybe Natural) Source #

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.