import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class AccessPointTag { Key ? : Value < string > ; Value ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class RootDirectory { Path ? : Value < string > ; CreationInfo ? : CreationInfo ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class CreationInfo { OwnerUid ! : Value < string > ; OwnerGid ! : Value < string > ; Permissions ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class PosixUser { Uid ! : Value < string > ; Gid ! : Value < string > ; SecondaryGids ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AccessPointProperties { ClientToken ? : Value < string > ; AccessPointTags ? : List < AccessPointTag > ; FileSystemId : Value < string > ; PosixUser ? : PosixUser ; RootDirectory ? : RootDirectory ; } export default class AccessPoint extends ResourceBase < AccessPointProperties > { static AccessPointTag = AccessPointTag ; static RootDirectory = RootDirectory ; static CreationInfo = CreationInfo ; static PosixUser = PosixUser ; constructor ( properties ) { super ( 'AWS::EFS::AccessPoint' , properties ) ; } }