import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class OnPremConfig { AgentArns ! : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MountOptions { Version ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface LocationNFSProperties { MountOptions ? : MountOptions ; OnPremConfig : OnPremConfig ; ServerHostname : Value < string > ; Subdirectory : Value < string > ; Tags ? : List < ResourceTag > ; } export default class LocationNFS extends ResourceBase < LocationNFSProperties > { static OnPremConfig = OnPremConfig ; static MountOptions = MountOptions ; constructor ( properties ) { super ( 'AWS::DataSync::LocationNFS' , properties ) ; } }