RouteState constructor
- Input<
String?> ? apiId, - Input<
bool?> ? apiKeyRequired, - Input<
List< ? authorizationScopes,String> ?> - Input<
String?> ? authorizationType, - Input<
String?> ? authorizerId, - Input<
String?> ? modelSelectionExpression, - Input<
String?> ? operationName, - Input<
String?> ? region, - Input<
Map< ? requestModels,String, String> ?> - Input<
List< ? requestParameters,RouteRequestParameter> ?> - Input<
String?> ? routeKey, - Input<
String?> ? routeResponseSelectionExpression, - Input<
String?> ? target,
Creates a new RouteState.
apiId API identifier.
apiKeyRequired Whether an API key is required for the route. Defaults to false. Supported only for WebSocket APIs.
authorizationScopes Authorization scopes supported by this route. The scopes are used with a JWT authorizer to authorize the method invocation.
authorizationType Authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. Defaults to NONE.
authorizerId Identifier of the aws.apigatewayv2.Authorizer resource to be associated with this route.
modelSelectionExpression Model selection expression for the route. Supported only for WebSocket APIs.
operationName Operation name for the route. Must be between 1 and 64 characters in length.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
requestModels Request models for the route. Supported only for WebSocket APIs.
requestParameters Request parameters for the route. Supported only for WebSocket APIs. See requestParameter Block below.
routeKey Route key for the route. For HTTP APIs, the route key can be either $default, or a combination of an HTTP method and resource path, for example, GET /pets.
routeResponseSelectionExpression Route response selection expression for the route. Supported only for WebSocket APIs.
target Target for the route, of the form integrations/IntegrationID, where IntegrationID is the identifier of an aws.apigatewayv2.Integration resource.
Implementation
const RouteState({
this.apiId,
this.apiKeyRequired,
this.authorizationScopes,
this.authorizationType,
this.authorizerId,
this.modelSelectionExpression,
this.operationName,
this.region,
this.requestModels,
this.requestParameters,
this.routeKey,
this.routeResponseSelectionExpression,
this.target,
});