aws_api_gateway_resourceNivis Nix constructor for the aws_api_gateway_resource 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,
parent_id,
path_part,
rest_api_id,
id ? null,
region ? null,
overrides ? {}
}Required arguments
parent_idpath_partrest_api_id
Optional arguments
id(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
path
Example
aws_api_gateway_resource {
name = "api_gateway_resource";
parent_id = …; # required
path_part = …; # required
rest_api_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.