AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The ApiCache
object.
Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z
public class ApiCache
The ApiCache type exposes the following members
Name | Description | |
---|---|---|
ApiCache() |
Name | Type | Description | |
---|---|---|---|
ApiCachingBehavior | Amazon.AppSync.ApiCachingBehavior |
Gets and sets the property ApiCachingBehavior. Caching behavior.
|
|
AtRestEncryptionEnabled | System.Boolean |
Gets and sets the property AtRestEncryptionEnabled. At-rest encryption flag for cache. You cannot update this setting after creation. |
|
HealthMetricsConfig | Amazon.AppSync.CacheHealthMetricsConfig |
Gets and sets the property HealthMetricsConfig. Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:
Metrics will be recorded by API ID. You can set the value to |
|
Status | Amazon.AppSync.ApiCacheStatus |
Gets and sets the property Status. The cache instance status.
|
|
TransitEncryptionEnabled | System.Boolean |
Gets and sets the property TransitEncryptionEnabled. Transit encryption flag when connecting to cache. You cannot update this setting after creation. |
|
Ttl | System.Int64 |
Gets and sets the property Ttl. TTL in seconds for cache entries. Valid values are 1–3,600 seconds. |
|
Type | Amazon.AppSync.ApiCacheType |
Gets and sets the property Type. The cache instance type. Valid values are
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are available, but their use is discouraged:
|
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5