import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ParameterConstraints { Required ! : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface RouteResponseProperties { RouteResponseKey : Value < string > ; ResponseParameters ? : { [ key ] : any ; } ; RouteId : Value < string > ; ModelSelectionExpression ? : Value < string > ; ApiId : Value < string > ; ResponseModels ? : { [ key ] : any ; } ; } export default class RouteResponse extends ResourceBase < RouteResponseProperties > { static ParameterConstraints = ParameterConstraints ; constructor ( properties ) { super ( 'AWS::ApiGatewayV2::RouteResponse' , properties ) ; } }