amazonka-accessanalyzer-2.0: Amazon Access Analyzer 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.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

Description

 
Synopsis

Documentation

data RdsDbClusterSnapshotConfiguration Source #

The proposed access control configuration for an Amazon RDS DB cluster snapshot. You can propose a configuration for a new Amazon RDS DB cluster snapshot or an Amazon RDS DB cluster snapshot that you own by specifying the RdsDbClusterSnapshotAttributeValue and optional KMS encryption key. For more information, see ModifyDBClusterSnapshotAttribute.

See: newRdsDbClusterSnapshotConfiguration smart constructor.

Constructors

RdsDbClusterSnapshotConfiguration' 

Fields

  • attributes :: Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue)

    The names and values of manual DB cluster snapshot attributes. Manual DB cluster snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. The only valid value for AttributeName for the attribute map is restore

  • kmsKeyId :: Maybe Text

    The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.

    • If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the kmsKeyId, or you specify an empty string, then the access preview uses the existing kmsKeyId of the snapshot.
    • If the access preview is for a new resource and you do not specify the specify the kmsKeyId, then the access preview considers the snapshot as unencrypted.

Instances

Instances details
FromJSON RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

ToJSON RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

Generic RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

Associated Types

type Rep RdsDbClusterSnapshotConfiguration :: Type -> Type #

Read RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

Show RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

NFData RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

Eq RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

Hashable RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

type Rep RdsDbClusterSnapshotConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration

type Rep RdsDbClusterSnapshotConfiguration = D1 ('MetaData "RdsDbClusterSnapshotConfiguration" "Amazonka.AccessAnalyzer.Types.RdsDbClusterSnapshotConfiguration" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "RdsDbClusterSnapshotConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue))) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRdsDbClusterSnapshotConfiguration :: RdsDbClusterSnapshotConfiguration Source #

Create a value of RdsDbClusterSnapshotConfiguration 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:attributes:RdsDbClusterSnapshotConfiguration', rdsDbClusterSnapshotConfiguration_attributes - The names and values of manual DB cluster snapshot attributes. Manual DB cluster snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. The only valid value for AttributeName for the attribute map is restore

$sel:kmsKeyId:RdsDbClusterSnapshotConfiguration', rdsDbClusterSnapshotConfiguration_kmsKeyId - The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.

  • If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the kmsKeyId, or you specify an empty string, then the access preview uses the existing kmsKeyId of the snapshot.
  • If the access preview is for a new resource and you do not specify the specify the kmsKeyId, then the access preview considers the snapshot as unencrypted.

rdsDbClusterSnapshotConfiguration_attributes :: Lens' RdsDbClusterSnapshotConfiguration (Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue)) Source #

The names and values of manual DB cluster snapshot attributes. Manual DB cluster snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB cluster snapshot. The only valid value for AttributeName for the attribute map is restore

rdsDbClusterSnapshotConfiguration_kmsKeyId :: Lens' RdsDbClusterSnapshotConfiguration (Maybe Text) Source #

The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.

  • If the configuration is for an existing Amazon RDS DB cluster snapshot and you do not specify the kmsKeyId, or you specify an empty string, then the access preview uses the existing kmsKeyId of the snapshot.
  • If the access preview is for a new resource and you do not specify the specify the kmsKeyId, then the access preview considers the snapshot as unencrypted.