import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Ec2Config { SecurityGroupArns ! : List < Value < string > > ; SubnetArn ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface LocationEFSProperties { Ec2Config : Ec2Config ; EfsFilesystemArn : Value < string > ; Subdirectory ? : Value < string > ; Tags ? : List < ResourceTag > ; } export default class LocationEFS extends ResourceBase < LocationEFSProperties > { static Ec2Config = Ec2Config ; constructor ( properties ) { super ( 'AWS::DataSync::LocationEFS' , properties ) ; } }