Skip to content

/AWS1/CL_AANRDSDBSNAPSHOTCONF

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

CONSTRUCTOR

IMPORTING

Optional arguments:

it_attributes TYPE /AWS1/CL_AANRDSDBSNAPATTRVALUE=>TT_RDSDBSNAPSHOTATTRIBUTESMAP TT_RDSDBSNAPSHOTATTRIBUTESMAP

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

iv_kmskeyid TYPE /AWS1/AANRDSDBSNAPSHOTKMSKEYID /AWS1/AANRDSDBSNAPSHOTKMSKEYID

The KMS key identifier for an encrypted Amazon RDS DB 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 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.


Queryable Attributes

attributes

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

Accessible with the following methods

Method Description
GET_ATTRIBUTES() Getter for ATTRIBUTES, with configurable default
ASK_ATTRIBUTES() Getter for ATTRIBUTES w/ exceptions if field has no value
HAS_ATTRIBUTES() Determine if ATTRIBUTES has a value

kmsKeyId

The KMS key identifier for an encrypted Amazon RDS DB 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 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.

Accessible with the following methods

Method Description
GET_KMSKEYID() Getter for KMSKEYID, with configurable default
ASK_KMSKEYID() Getter for KMSKEYID w/ exceptions if field has no value
HAS_KMSKEYID() Determine if KMSKEYID has a value