aws_apigatewayv2_apiNivis Nix constructor for the aws_apigatewayv2_api 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,
protocol_type,
api_key_selection_expression ? null,
body ? null,
credentials_arn ? null,
description ? null,
disable_execute_api_endpoint ? null,
fail_on_warnings ? null,
id ? null,
ip_address_type ? null,
cfg_name ? null,
region ? null,
route_key ? null,
route_selection_expression ? null,
tags ? null,
tags_all ? null,
target ? null,
version ? null,
cors_configuration ? null,
overrides ? {}
}Required arguments
protocol_type
Optional arguments
api_key_selection_expression(defaults tonull)body(defaults tonull)credentials_arn(defaults tonull)description(defaults tonull)disable_execute_api_endpoint(defaults tonull)fail_on_warnings(defaults tonull)id(defaults tonull)ip_address_type(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)route_key(defaults tonull)route_selection_expression(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)target(defaults tonull)version(defaults tonull)cors_configuration(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
api_endpointarnexecution_arn
Example
aws_apigatewayv2_api {
name = "apigatewayv2_api";
protocol_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.