AWS::AppSync::ApiCacheResource Type definition for AWS::AppSync::ApiCache
7 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ApiCachingBehavior | string | Required |
ApiId | string | RequiredCreate-only |
Ttl | integer | Required |
Type | string | Required |
AtRestEncryptionEnabled | boolean | Create-only |
HealthMetricsConfig | string | |
TransitEncryptionEnabled | boolean | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | The CloudFormation primary identifier for an ApiCache. Mirrors ApiId once the resource exists; populated by the handler. Customers should reference the ApiCache by ApiId. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::AppSync::ApiCache
Resources:
MyResource:
Type: AWS::AppSync::ApiCache
Properties:
Type: "value"
ApiId: "my-apiid"
ApiCachingBehavior: "value"
Ttl: 1Permissions CloudFormation needs in your IAM role to manage this resource.
appsync:CreateApiCacheappsync:GetApiCacheappsync:GetApiCacheappsync:UpdateApiCacheappsync:GetApiCacheappsync:DeleteApiCacheappsync:GetApiCacheEverything you need to know about AppSync on one page. HD quality, print-friendly.
Download Free InfographicIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ApiIdAtRestEncryptionEnabledTransitEncryptionEnabled