AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.AppSync.Model.ApiCache

Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z

Syntax

C#
public class ApiCache

The ApiCache type exposes the following members

Constructors

NameDescription
Public Method ApiCache()

Properties

NameTypeDescription
Public Property ApiCachingBehavior Amazon.AppSync.ApiCachingBehavior

Gets and sets the property ApiCachingBehavior.

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.

Public Property AtRestEncryptionEnabled System.Boolean

Gets and sets the property AtRestEncryptionEnabled.

At rest encryption flag for cache. This setting cannot be updated after creation.

Public Property Status Amazon.AppSync.ApiCacheStatus

Gets and sets the property Status.

The cache instance status.

  • AVAILABLE: The instance is available for use.

  • CREATING: The instance is currently creating.

  • DELETING: The instance is currently deleting.

  • MODIFYING: The instance is currently modifying.

  • FAILED: The instance has failed creation.

Public Property TransitEncryptionEnabled System.Boolean

Gets and sets the property TransitEncryptionEnabled.

Transit encryption flag when connecting to cache. This setting cannot be updated after creation.

Public Property Ttl System.Int64

Gets and sets the property Ttl.

TTL in seconds for cache entries.

Valid values are between 1 and 3600 seconds.

Public Property Type Amazon.AppSync.ApiCacheType

Gets and sets the property Type.

The cache instance type.

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms