amazonka-datasync-2.0: Amazon DataSync 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.DataSync.Types.Ec2Config

Description

 
Synopsis

Documentation

data Ec2Config Source #

The subnet and security groups that DataSync uses to access your Amazon EFS file system.

See: newEc2Config smart constructor.

Constructors

Ec2Config' 

Fields

  • subnetArn :: Text

    Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

    The subnet must be located:

    • In the same virtual private cloud (VPC) as the Amazon EFS file system.
    • In the same Availability Zone as at least one mount target for the Amazon EFS file system.

    You don't need to specify a subnet that includes a file system mount target.

  • securityGroupArns :: NonEmpty Text

    Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.

Instances

Instances details
FromJSON Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

ToJSON Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

Generic Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

Associated Types

type Rep Ec2Config :: Type -> Type #

Read Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

Show Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

NFData Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

Methods

rnf :: Ec2Config -> () #

Eq Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

Hashable Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

type Rep Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

type Rep Ec2Config = D1 ('MetaData "Ec2Config" "Amazonka.DataSync.Types.Ec2Config" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "Ec2Config'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "securityGroupArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newEc2Config Source #

Create a value of Ec2Config 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:subnetArn:Ec2Config', ec2Config_subnetArn - Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

The subnet must be located:

  • In the same virtual private cloud (VPC) as the Amazon EFS file system.
  • In the same Availability Zone as at least one mount target for the Amazon EFS file system.

You don't need to specify a subnet that includes a file system mount target.

$sel:securityGroupArns:Ec2Config', ec2Config_securityGroupArns - Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.

ec2Config_subnetArn :: Lens' Ec2Config Text Source #

Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

The subnet must be located:

  • In the same virtual private cloud (VPC) as the Amazon EFS file system.
  • In the same Availability Zone as at least one mount target for the Amazon EFS file system.

You don't need to specify a subnet that includes a file system mount target.

ec2Config_securityGroupArns :: Lens' Ec2Config (NonEmpty Text) Source #

Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.