libZSservicesZSamazonka-datasyncZSamazonka-datasync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataSync.Types.Ec2Config

Description

 
Synopsis

Documentation

data Ec2Config Source #

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.

Constructors

Ec2Config' 

Fields

  • subnetArn :: Text

    The ARN of the subnet and the security group that DataSync uses to access the target EFS file system.

  • securityGroupArns :: NonEmpty Text

    The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

Instances

Instances details
Eq Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

Read Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

Show 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 #

NFData Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

Methods

rnf :: Ec2Config -> () #

Hashable Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

ToJSON Ec2Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.Ec2Config

FromJSON 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" "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))))

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 - 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.

ec2Config_subnetArn :: Lens' Ec2Config Text Source #

The ARN of the subnet and the security group that DataSync uses to access the target EFS file system.

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

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.