EbsSnapshotConfiguration
¶
Source code in docs_src/capo_accessanalyzer/types/ebs_snapshot_configuration.py
groups
instance-attribute
¶
groups: NotRequired[EbsGroupList]
The groups that have access to the Amazon EBS volume snapshot. If the value all is specified, then the Amazon EBS volume snapshot is public.
-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
groups, then the access preview uses the existing sharedgroupsfor the snapshot. -
If the access preview is for a new resource and you do not specify the
groups, then the access preview considers the snapshot without anygroups. -
To propose deletion of existing shared
groups, you can specify an empty list forgroups.
kms_key_id
instance-attribute
¶
kms_key_id: NotRequired[EbsSnapshotDataEncryptionKeyId]
The KMS key identifier for an encrypted Amazon EBS volume 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 EBS volume snapshot and you do not specify the
kmsKeyId, or you specify an empty string, then the access preview uses the existingkmsKeyIdof the snapshot. -
If the access preview is for a new resource and you do not specify the
kmsKeyId, the access preview considers the snapshot as unencrypted.
user_ids
instance-attribute
¶
user_ids: NotRequired[EbsUserIdList]
The IDs of the Amazon Web Services accounts that have access to the Amazon EBS volume snapshot.
-
If the configuration is for an existing Amazon EBS volume snapshot and you do not specify the
userIds, then the access preview uses the existing shareduserIdsfor the snapshot. -
If the access preview is for a new resource and you do not specify the
userIds, then the access preview considers the snapshot without anyuserIds. -
To propose deletion of existing shared
accountIds, you can specify an empty list foruserIds.