aws_appsync_api_cacheNivis 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_behaviorapi_idttltype
Optional arguments
at_rest_encryption_enabled(defaults tonull)id(defaults tonull)region(defaults tonull)transit_encryption_enabled(defaults tonull)
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.