Interface CfnRouteV2Props

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRouteV2Props.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.877Z") @Stability(Deprecated) @Deprecated public interface CfnRouteV2Props extends software.amazon.jsii.JsiiSerializable
Deprecated.
moved to package aws-apigatewayv2
(deprecated) Properties for defining a AWS::ApiGatewayV2::Route.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apigateway.*;
 Object requestModels;
 Object requestParameters;
 CfnRouteV2Props cfnRouteV2Props = CfnRouteV2Props.builder()
         .apiId("apiId")
         .routeKey("routeKey")
         // the properties below are optional
         .apiKeyRequired(false)
         .authorizationScopes(List.of("authorizationScopes"))
         .authorizationType("authorizationType")
         .authorizerId("authorizerId")
         .modelSelectionExpression("modelSelectionExpression")
         .operationName("operationName")
         .requestModels(requestModels)
         .requestParameters(requestParameters)
         .routeResponseSelectionExpression("routeResponseSelectionExpression")
         .target("target")
         .build();
 

See Also: