aws_api_gateway_methodNivis Nix constructor for the aws_api_gateway_method 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,
authorization,
http_method,
resource_id,
rest_api_id,
api_key_required ? null,
authorization_scopes ? null,
authorizer_id ? null,
id ? null,
operation_name ? null,
region ? null,
request_models ? null,
request_parameters ? null,
request_validator_id ? null,
overrides ? {}
}Required arguments
authorizationhttp_methodresource_idrest_api_id
Optional arguments
api_key_required(defaults tonull)authorization_scopes(defaults tonull)authorizer_id(defaults tonull)id(defaults tonull)operation_name(defaults tonull)region(defaults tonull)request_models(defaults tonull)request_parameters(defaults tonull)request_validator_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_api_gateway_method {
name = "api_gateway_method";
authorization = …; # required
http_method = …; # required
resource_id = …; # required
rest_api_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.