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