Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Ec2Config = Ec2Config' {}
- newEc2Config :: Text -> NonEmpty Text -> Ec2Config
- ec2Config_subnetArn :: Lens' Ec2Config Text
- ec2Config_securityGroupArns :: Lens' Ec2Config (NonEmpty Text)
Documentation
The subnet and the security group that DataSync uses to access target EFS file system. The subnet must have at least one mount target for that file system. The security group that you provide needs to be able to communicate with the security group on the mount target in the subnet specified.
See: newEc2Config
smart constructor.
Ec2Config' | |
|
Instances
Eq Ec2Config Source # | |
Read Ec2Config Source # | |
Show Ec2Config Source # | |
Generic Ec2Config Source # | |
NFData Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
Hashable Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
ToJSON Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
FromJSON Ec2Config Source # | |
type Rep Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config type Rep Ec2Config = D1 ('MetaData "Ec2Config" "Amazonka.DataSync.Types.Ec2Config" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" '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
- The ARN of the subnet and the security group that DataSync uses to
access the target EFS file system.
$sel:securityGroupArns:Ec2Config'
, ec2Config_securityGroupArns
- The Amazon Resource Names (ARNs) of the security groups that are
configured for the Amazon EC2 resource.