ApiCacheState constructor

const ApiCacheState({
  1. Input<String?>? apiCachingBehavior,
  2. Input<String?>? apiId,
  3. Input<bool?>? atRestEncryptionEnabled,
  4. Input<String?>? region,
  5. Input<bool?>? transitEncryptionEnabled,
  6. Input<int?>? ttl,
  7. Input<String?>? type,
})

Creates a new ApiCacheState. apiCachingBehavior Caching behavior. Valid values are FULL_REQUEST_CACHING and PER_RESOLVER_CACHING. apiId GraphQL API ID. atRestEncryptionEnabled At-rest encryption flag for cache. You cannot update this setting after creation. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. transitEncryptionEnabled Transit encryption flag when connecting to cache. You cannot update this setting after creation. ttl TTL in seconds for cache entries. type Cache instance type. Valid values are SMALL, MEDIUM, LARGE, XLARGE, LARGE_2X, LARGE_4X, LARGE_8X, LARGE_12X, T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE.

Implementation

const ApiCacheState({
  this.apiCachingBehavior,
  this.apiId,
  this.atRestEncryptionEnabled,
  this.region,
  this.transitEncryptionEnabled,
  this.ttl,
  this.type,
});