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.

Container for the parameters to the CreateApiCache operation. Creates a cache for the GraphQL API.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppSync.AmazonAppSyncRequest
      Amazon.AppSync.Model.CreateApiCacheRequest

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

Syntax

C#
public class CreateApiCacheRequest : AmazonAppSyncRequest
         IAmazonWebServiceRequest

The CreateApiCacheRequest type exposes the following members

Constructors

NameDescription
Public Method CreateApiCacheRequest()

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 ApiId System.String

Gets and sets the property ApiId.

The GraphQL API Id.

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 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