AWS::DataSync::LocationEFS Ec2Config - AWS CloudFormation

AWS::DataSync::LocationEFS Ec2Config

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "SecurityGroupArns" : [ String, ... ], "SubnetArn" : String }

YAML

SecurityGroupArns: - String SubnetArn: String

Properties

SecurityGroupArns

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

Pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$

Required: Yes

Type: List of String

Maximum: 5

Update requires: Replacement

SubnetArn

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

Required: Yes

Type: String

Maximum: 128

Pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:subnet/.*$

Update requires: Replacement