class Aws::ApiGatewayV2::Types::CreateRouteInput
Represents the input parameters for a CreateRoute request.
@!attribute [rw] api_key_required
Specifies whether an API key is required for the route. Supported only for WebSocket APIs. @return [Boolean]
@!attribute [rw] authorization_scopes
The authorization scopes supported by this route. @return [Array<String>]
@!attribute [rw] authorization_type
The 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. @return [String]
@!attribute [rw] authorizer_id
The identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer. @return [String]
@!attribute [rw] model_selection_expression
The model selection expression for the route. Supported only for WebSocket APIs. @return [String]
@!attribute [rw] operation_name
The operation name for the route. @return [String]
@!attribute [rw] request_models
The request models for the route. Supported only for WebSocket APIs. @return [Hash<String,String>]
@!attribute [rw] request_parameters
The request parameters for the route. Supported only for WebSocket APIs. @return [Hash<String,Types::ParameterConstraints>]
@!attribute [rw] route_key
The route key for the route. @return [String]
@!attribute [rw] route_response_selection_expression
The route response selection expression for the route. Supported only for WebSocket APIs. @return [String]
@!attribute [rw] target
The target for the route. @return [String]
Constants
- SENSITIVE