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 DestinationToCreate = DestinationToCreate' {}
- newDestinationToCreate :: DestinationToCreate
- destinationToCreate_availabilityZoneName :: Lens' DestinationToCreate (Maybe Text)
- destinationToCreate_kmsKeyId :: Lens' DestinationToCreate (Maybe Text)
- destinationToCreate_region :: Lens' DestinationToCreate (Maybe Text)
Documentation
data DestinationToCreate Source #
Describes the destination file system to create in the replication configuration.
See: newDestinationToCreate
smart constructor.
DestinationToCreate' | |
|
Instances
newDestinationToCreate :: DestinationToCreate Source #
Create a value of DestinationToCreate
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:availabilityZoneName:DestinationToCreate'
, destinationToCreate_availabilityZoneName
- To create a file system that uses EFS One Zone storage, specify the name
of the Availability Zone in which to create the destination file system.
$sel:kmsKeyId:DestinationToCreate'
, destinationToCreate_kmsKeyId
- Specifies the Key Management Service (KMS) key that you want to use to
encrypt the destination file system. If you do not specify a KMS key,
Amazon EFS uses your default KMS key for Amazon EFS,
/aws/elasticfilesystem
. This ID can be in one of the following
formats:
- Key ID - The unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - The Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - The ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
$sel:region:DestinationToCreate'
, destinationToCreate_region
- To create a file system that uses Regional storage, specify the Amazon
Web Services Region in which to create the destination file system.
destinationToCreate_availabilityZoneName :: Lens' DestinationToCreate (Maybe Text) Source #
To create a file system that uses EFS One Zone storage, specify the name of the Availability Zone in which to create the destination file system.
destinationToCreate_kmsKeyId :: Lens' DestinationToCreate (Maybe Text) Source #
Specifies the Key Management Service (KMS) key that you want to use to
encrypt the destination file system. If you do not specify a KMS key,
Amazon EFS uses your default KMS key for Amazon EFS,
/aws/elasticfilesystem
. This ID can be in one of the following
formats:
- Key ID - The unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - The Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - The ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
destinationToCreate_region :: Lens' DestinationToCreate (Maybe Text) Source #
To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the destination file system.