import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class MeshSpec { EgressFilter ? : EgressFilter ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class EgressFilter { Type ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface MeshProperties { MeshName ? : Value < string > ; Spec ? : MeshSpec ; Tags ? : List < ResourceTag > ; } export default class Mesh extends ResourceBase < MeshProperties > { static MeshSpec = MeshSpec ; static EgressFilter = EgressFilter ; constructor ( properties ? ) { super ( 'AWS::AppMesh::Mesh' , properties || { } ) ; } }