Show / Hide Table of Contents

Class CfnResolver.CachingConfigProperty

The caching configuration for a resolver that has caching activated.

Inheritance
System.Object
CfnResolver.CachingConfigProperty
Implements
CfnResolver.ICachingConfigProperty
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class CachingConfigProperty : Object, CfnResolver.ICachingConfigProperty
Syntax (vb)
Public Class CachingConfigProperty
    Inherits Object
    Implements CfnResolver.ICachingConfigProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;

var cachingConfigProperty = new CachingConfigProperty {
    Ttl = 123,

    // the properties below are optional
    CachingKeys = new [] { "cachingKeys" }
};

Synopsis

Constructors

CachingConfigProperty()

Properties

CachingKeys

The caching keys for a resolver that has caching activated.

Ttl

The TTL in seconds for a resolver that has caching activated.

Constructors

CachingConfigProperty()

public CachingConfigProperty()

Properties

CachingKeys

The caching keys for a resolver that has caching activated.

public string[] CachingKeys { get; set; }
Property Value

System.String[]

Remarks

Valid values are entries from the $context.arguments , $context.source , and $context.identity maps.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html#cfn-appsync-resolver-cachingconfig-cachingkeys

Ttl

The TTL in seconds for a resolver that has caching activated.

public double Ttl { get; set; }
Property Value

System.Double

Remarks

Valid values are 1–3,600 seconds.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html#cfn-appsync-resolver-cachingconfig-ttl

Implements

CfnResolver.ICachingConfigProperty
Back to top Generated by DocFX