aws_apigatewayv2_api

Nivis 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 to null)
  • body (defaults to null)
  • credentials_arn (defaults to null)
  • description (defaults to null)
  • disable_execute_api_endpoint (defaults to null)
  • fail_on_warnings (defaults to null)
  • id (defaults to null)
  • ip_address_type (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • route_key (defaults to null)
  • route_selection_expression (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • target (defaults to null)
  • version (defaults to null)
  • cors_configuration (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • api_endpoint
  • arn
  • execution_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.