amazonka-secretsmanager-2.0: Amazon Secrets Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SecretsManager.Types.ReplicaRegionType

Description

 
Synopsis

Documentation

data ReplicaRegionType Source #

A custom type that specifies a Region and the KmsKeyId for a replica secret.

See: newReplicaRegionType smart constructor.

Constructors

ReplicaRegionType' 

Fields

Instances

Instances details
ToJSON ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Generic ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Associated Types

type Rep ReplicaRegionType :: Type -> Type #

Read ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Show ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

NFData ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Methods

rnf :: ReplicaRegionType -> () #

Eq ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Hashable ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

type Rep ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

type Rep ReplicaRegionType = D1 ('MetaData "ReplicaRegionType" "Amazonka.SecretsManager.Types.ReplicaRegionType" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ReplicaRegionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newReplicaRegionType :: ReplicaRegionType Source #

Create a value of ReplicaRegionType 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:kmsKeyId:ReplicaRegionType', replicaRegionType_kmsKeyId - The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses aws/secretsmanager.

$sel:region:ReplicaRegionType', replicaRegionType_region - A Region code. For a list of Region codes, see Name and code of Regions.

replicaRegionType_kmsKeyId :: Lens' ReplicaRegionType (Maybe Text) Source #

The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses aws/secretsmanager.

replicaRegionType_region :: Lens' ReplicaRegionType (Maybe Text) Source #

A Region code. For a list of Region codes, see Name and code of Regions.