aws_apigatewayv2_routeNivis Nix constructor for the aws_apigatewayv2_route resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
api_id,
route_key,
api_key_required ? null,
authorization_scopes ? null,
authorization_type ? null,
authorizer_id ? null,
id ? null,
model_selection_expression ? null,
operation_name ? null,
region ? null,
request_models ? null,
route_response_selection_expression ? null,
target ? null,
request_parameter ? null,
overrides ? {}
}Required arguments
api_idroute_key
Optional arguments
api_key_required(defaults tonull)authorization_scopes(defaults tonull)authorization_type(defaults tonull)authorizer_id(defaults tonull)id(defaults tonull)model_selection_expression(defaults tonull)operation_name(defaults tonull)region(defaults tonull)request_models(defaults tonull)route_response_selection_expression(defaults tonull)target(defaults tonull)request_parameter(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_apigatewayv2_route {
name = "apigatewayv2_route";
api_id = …; # required
route_key = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.