aws_appsync_api_cache

Nivis Nix constructor for the aws_appsync_api_cache 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,
  api_caching_behavior,
  api_id,
  ttl,
  type,
  at_rest_encryption_enabled ? null,
  id ? null,
  region ? null,
  transit_encryption_enabled ? null,
  overrides ? {}
}
Required arguments
  • api_caching_behavior
  • api_id
  • ttl
  • type
Optional arguments
  • at_rest_encryption_enabled (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • transit_encryption_enabled (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aws_appsync_api_cache {
  name = "appsync_api_cache";
  api_caching_behavior = …;  # required
  api_id = …;  # required
  ttl = …;  # required
  type = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.