import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class AccessLogSettings { Format ? : Value < string > ; DestinationArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class RouteOverrides { Target ? : Value < string > ; AuthorizerId ? : Value < string > ; OperationName ? : Value < string > ; AuthorizationScopes ? : List < Value < string > > ; AuthorizationType ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class StageOverrides { Description ? : Value < string > ; AccessLogSettings ? : AccessLogSettings ; AutoDeploy ? : Value < boolean > ; RouteSettings ? : { [ key ] : any ; } ; StageVariables ? : { [ key ] : any ; } ; DefaultRouteSettings ? : RouteSettings ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class RouteSettings { LoggingLevel ? : Value < string > ; DataTraceEnabled ? : Value < boolean > ; ThrottlingBurstLimit ? : Value < number > ; DetailedMetricsEnabled ? : Value < boolean > ; ThrottlingRateLimit ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class IntegrationOverrides { Description ? : Value < string > ; PayloadFormatVersion ? : Value < string > ; TimeoutInMillis ? : Value < number > ; IntegrationMethod ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ApiGatewayManagedOverridesProperties { Integration ? : IntegrationOverrides ; Stage ? : StageOverrides ; ApiId : Value < string > ; Route ? : RouteOverrides ; } export default class ApiGatewayManagedOverrides extends ResourceBase < ApiGatewayManagedOverridesProperties > { static AccessLogSettings = AccessLogSettings ; static RouteOverrides = RouteOverrides ; static StageOverrides = StageOverrides ; static RouteSettings = RouteSettings ; static IntegrationOverrides = IntegrationOverrides ; constructor ( properties ) { super ( 'AWS::ApiGatewayV2::ApiGatewayManagedOverrides' , properties ) ; } }