Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data EbsSnapshotConfiguration = EbsSnapshotConfiguration' {}
- newEbsSnapshotConfiguration :: EbsSnapshotConfiguration
- ebsSnapshotConfiguration_groups :: Lens' EbsSnapshotConfiguration (Maybe [Text])
- ebsSnapshotConfiguration_kmsKeyId :: Lens' EbsSnapshotConfiguration (Maybe Text)
- ebsSnapshotConfiguration_userIds :: Lens' EbsSnapshotConfiguration (Maybe [Text])
Documentation
data EbsSnapshotConfiguration Source #
The proposed access control configuration for an Amazon EBS volume snapshot. You can propose a configuration for a new Amazon EBS volume snapshot or an Amazon EBS volume snapshot that you own by specifying the user IDs, groups, and optional KMS encryption key. For more information, see ModifySnapshotAttribute.
See: newEbsSnapshotConfiguration
smart constructor.
EbsSnapshotConfiguration' | |
|
Instances
newEbsSnapshotConfiguration :: EbsSnapshotConfiguration Source #
Create a value of EbsSnapshotConfiguration
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:groups:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_groups
- 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 sharedgroups
for 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
.
$sel:kmsKeyId:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_kmsKeyId
- 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 existingkmsKeyId
of 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.
$sel:userIds:EbsSnapshotConfiguration'
, ebsSnapshotConfiguration_userIds
- 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 shareduserIds
for 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
.
ebsSnapshotConfiguration_groups :: Lens' EbsSnapshotConfiguration (Maybe [Text]) Source #
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 sharedgroups
for 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
.
ebsSnapshotConfiguration_kmsKeyId :: Lens' EbsSnapshotConfiguration (Maybe Text) Source #
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 existingkmsKeyId
of 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.
ebsSnapshotConfiguration_userIds :: Lens' EbsSnapshotConfiguration (Maybe [Text]) Source #
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 shareduserIds
for 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
.