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.RdsDbSnapshotAttributeValue

Description

 
Synopsis

Documentation

data RdsDbSnapshotAttributeValue Source #

The name and values of a manual Amazon RDS DB snapshot attribute. Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot.

See: newRdsDbSnapshotAttributeValue smart constructor.

Constructors

RdsDbSnapshotAttributeValue' 

Fields

  • accountIds :: Maybe [Text]

    The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all Amazon Web Services accounts.

    • If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the accountIds in RdsDbSnapshotAttributeValue, then the access preview uses the existing shared accountIds for the snapshot.
    • If the access preview is for a new resource and you do not specify the specify the accountIds in RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any attributes.
    • To propose deletion of an existing shared accountIds, you can specify an empty list for accountIds in the RdsDbSnapshotAttributeValue.

Instances

Instances details
FromJSON RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

ToJSON RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

Generic RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

Associated Types

type Rep RdsDbSnapshotAttributeValue :: Type -> Type #

Read RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

Show RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

NFData RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

Eq RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

Hashable RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

type Rep RdsDbSnapshotAttributeValue Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue

type Rep RdsDbSnapshotAttributeValue = D1 ('MetaData "RdsDbSnapshotAttributeValue" "Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "RdsDbSnapshotAttributeValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newRdsDbSnapshotAttributeValue :: RdsDbSnapshotAttributeValue Source #

Create a value of RdsDbSnapshotAttributeValue 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:accountIds:RdsDbSnapshotAttributeValue', rdsDbSnapshotAttributeValue_accountIds - The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all Amazon Web Services accounts.

  • If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the accountIds in RdsDbSnapshotAttributeValue, then the access preview uses the existing shared accountIds for the snapshot.
  • If the access preview is for a new resource and you do not specify the specify the accountIds in RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any attributes.
  • To propose deletion of an existing shared accountIds, you can specify an empty list for accountIds in the RdsDbSnapshotAttributeValue.

rdsDbSnapshotAttributeValue_accountIds :: Lens' RdsDbSnapshotAttributeValue (Maybe [Text]) Source #

The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all Amazon Web Services accounts.

  • If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the accountIds in RdsDbSnapshotAttributeValue, then the access preview uses the existing shared accountIds for the snapshot.
  • If the access preview is for a new resource and you do not specify the specify the accountIds in RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any attributes.
  • To propose deletion of an existing shared accountIds, you can specify an empty list for accountIds in the RdsDbSnapshotAttributeValue.