amazonka-efs-2.0: Amazon Elastic File System 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.EFS.Types.DestinationToCreate

Description

 
Synopsis

Documentation

data DestinationToCreate Source #

Describes the destination file system to create in the replication configuration.

See: newDestinationToCreate smart constructor.

Constructors

DestinationToCreate' 

Fields

  • availabilityZoneName :: Maybe Text

    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.

  • kmsKeyId :: Maybe Text

    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.
  • region :: Maybe Text

    To create a file system that uses Regional storage, specify the Amazon Web Services Region in which to create the destination file system.

Instances

Instances details
ToJSON DestinationToCreate Source # 
Instance details

Defined in Amazonka.EFS.Types.DestinationToCreate

Generic DestinationToCreate Source # 
Instance details

Defined in Amazonka.EFS.Types.DestinationToCreate

Associated Types

type Rep DestinationToCreate :: Type -> Type #

Read DestinationToCreate Source # 
Instance details

Defined in Amazonka.EFS.Types.DestinationToCreate

Show DestinationToCreate Source # 
Instance details

Defined in Amazonka.EFS.Types.DestinationToCreate

NFData DestinationToCreate Source # 
Instance details

Defined in Amazonka.EFS.Types.DestinationToCreate

Methods

rnf :: DestinationToCreate -> () #

Eq DestinationToCreate Source # 
Instance details

Defined in Amazonka.EFS.Types.DestinationToCreate

Hashable DestinationToCreate Source # 
Instance details

Defined in Amazonka.EFS.Types.DestinationToCreate

type Rep DestinationToCreate Source # 
Instance details

Defined in Amazonka.EFS.Types.DestinationToCreate

type Rep DestinationToCreate = D1 ('MetaData "DestinationToCreate" "Amazonka.EFS.Types.DestinationToCreate" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "DestinationToCreate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "availabilityZoneName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.