/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Resource schema for AWS::DataSync::LocationEFS. */ export interface AwsDatasyncLocationefs { Ec2Config: Ec2Config; /** * The Amazon Resource Name (ARN) for the Amazon EFS file system. */ EfsFilesystemArn?: string; /** * The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system. */ AccessPointArn?: string; /** * The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system. */ FileSystemAccessRoleArn?: string; /** * Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system. */ InTransitEncryption?: "NONE" | "TLS1_2"; /** * A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination. */ Subdirectory?: string; /** * An array of key-value pairs to apply to this resource. * * @maxItems 50 */ Tags?: Tag[]; /** * The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created. */ LocationArn?: string; /** * The URL of the EFS location that was described. */ LocationUri?: string; } /** * The subnet and security group that DataSync uses to access target EFS file system. */ export interface Ec2Config { /** * The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource. * * @minItems 1 * @maxItems 5 */ SecurityGroupArns: | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string]; /** * The ARN of the subnet that DataSync uses to access the target EFS file system. */ SubnetArn: string; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * The key for an AWS resource tag. */ Key: string; /** * The value for an AWS resource tag. */ Value: string; }