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 Ec2Config = Ec2Config' {}
- newEc2Config :: Text -> NonEmpty Text -> Ec2Config
- ec2Config_subnetArn :: Lens' Ec2Config Text
- ec2Config_securityGroupArns :: Lens' Ec2Config (NonEmpty Text)
Documentation
The subnet and security groups that DataSync uses to access your Amazon EFS file system.
See: newEc2Config
smart constructor.
Ec2Config' | |
|
Instances
FromJSON Ec2Config Source # | |
ToJSON Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
Generic Ec2Config Source # | |
Read Ec2Config Source # | |
Show Ec2Config Source # | |
NFData Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
Eq Ec2Config Source # | |
Hashable Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
type Rep Ec2Config Source # | |
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)))) |
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.