Show / Hide Table of Contents

Class CfnResolver

The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnResolver
Implements
IInspectable
IResolverRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResolver : CfnResource, IInspectable, IResolverRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnResolver Inherits CfnResource Implements IInspectable, IResolverRef, IConstruct, IDependable, IEnvironmentAware
Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

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 cfnResolver = new CfnResolver(this, "MyCfnResolver", new CfnResolverProps {
                 ApiId = "apiId",
                 FieldName = "fieldName",
                 TypeName = "typeName",

                 // the properties below are optional
                 CachingConfig = new CachingConfigProperty {
                     Ttl = 123,

                     // the properties below are optional
                     CachingKeys = new [] { "cachingKeys" }
                 },
                 Code = "code",
                 CodeS3Location = "codeS3Location",
                 DataSourceName = "dataSourceName",
                 Kind = "kind",
                 MaxBatchSize = 123,
                 MetricsConfig = "metricsConfig",
                 PipelineConfig = new PipelineConfigProperty {
                     Functions = new [] { "functions" }
                 },
                 RequestMappingTemplate = "requestMappingTemplate",
                 RequestMappingTemplateS3Location = "requestMappingTemplateS3Location",
                 ResponseMappingTemplate = "responseMappingTemplate",
                 ResponseMappingTemplateS3Location = "responseMappingTemplateS3Location",
                 Runtime = new AppSyncRuntimeProperty {
                     Name = "name",
                     RuntimeVersion = "runtimeVersion"
                 },
                 SyncConfig = new SyncConfigProperty {
                     ConflictDetection = "conflictDetection",

                     // the properties below are optional
                     ConflictHandler = "conflictHandler",
                     LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {
                         LambdaConflictHandlerArn = "lambdaConflictHandlerArn"
                     }
                 }
             });

Synopsis

Constructors

CfnResolver(Construct, string, ICfnResolverProps)

Create a new AWS::AppSync::Resolver.

Properties

ApiId

The AWS AppSync GraphQL API to which you want to attach this resolver.

AttrFieldName

The GraphQL field on a type that invokes the resolver.

AttrResolverArn

ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .

AttrTypeName

The GraphQL type that invokes this resolver.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CachingConfig

The caching configuration for the resolver.

CfnProperties

The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema.

Code

The resolver code that contains the request and response functions.

CodeS3Location

The Amazon S3 endpoint.

DataSourceName

The resolver data source name.

FieldName

The GraphQL field on a type that invokes the resolver.

Kind

The resolver type.

MaxBatchSize

The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.

MetricsConfig

Enables or disables enhanced resolver metrics for specified resolvers.

PipelineConfig

Functions linked with the pipeline resolver.

RequestMappingTemplate

The request mapping template.

RequestMappingTemplateS3Location

The location of a request mapping template in an Amazon S3 bucket.

ResolverRef

A reference to a Resolver resource.

ResponseMappingTemplate

The response mapping template.

ResponseMappingTemplateS3Location

The location of a response mapping template in an Amazon S3 bucket.

Runtime

Describes a runtime used by an AWS AppSync resolver or AWS AppSync function.

SyncConfig

The SyncConfig for a resolver attached to a versioned data source.

TypeName

The GraphQL type that invokes this resolver.

Methods

ArnForResolver(IResolverRef)

The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema.

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnResolver(object)

Checks whether the given object is a CfnResolver.

RenderProperties(IDictionary<string, object>)

The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema.

Constructors

CfnResolver(Construct, string, ICfnResolverProps)

Create a new AWS::AppSync::Resolver.

public CfnResolver(Construct scope, string id, ICfnResolverProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnResolverProps

Resource properties.

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

Properties

ApiId

The AWS AppSync GraphQL API to which you want to attach this resolver.

public virtual string ApiId { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

AttrFieldName

The GraphQL field on a type that invokes the resolver.

public virtual string AttrFieldName { get; }
Property Value

string

Remarks

CloudformationAttribute: FieldName

AttrResolverArn

ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .

public virtual string AttrResolverArn { get; }
Property Value

string

Remarks

CloudformationAttribute: ResolverArn

AttrTypeName

The GraphQL type that invokes this resolver.

public virtual string AttrTypeName { get; }
Property Value

string

Remarks

CloudformationAttribute: TypeName

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

CachingConfig

The caching configuration for the resolver.

public virtual object? CachingConfig { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnResolver.ICachingConfigProperty

CfnProperties

The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

Code

The resolver code that contains the request and response functions.

public virtual string? Code { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

CodeS3Location

The Amazon S3 endpoint.

public virtual string? CodeS3Location { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

DataSourceName

The resolver data source name.

public virtual string? DataSourceName { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

FieldName

The GraphQL field on a type that invokes the resolver.

public virtual string FieldName { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

Kind

The resolver type.

public virtual string? Kind { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

MaxBatchSize

The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.

public virtual double? MaxBatchSize { get; set; }
Property Value

double?

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

MetricsConfig

Enables or disables enhanced resolver metrics for specified resolvers.

public virtual string? MetricsConfig { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

PipelineConfig

Functions linked with the pipeline resolver.

public virtual object? PipelineConfig { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnResolver.IPipelineConfigProperty

RequestMappingTemplate

The request mapping template.

public virtual string? RequestMappingTemplate { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

RequestMappingTemplateS3Location

The location of a request mapping template in an Amazon S3 bucket.

public virtual string? RequestMappingTemplateS3Location { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

ResolverRef

A reference to a Resolver resource.

public virtual IResolverReference ResolverRef { get; }
Property Value

IResolverReference

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

ResponseMappingTemplate

The response mapping template.

public virtual string? ResponseMappingTemplate { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

ResponseMappingTemplateS3Location

The location of a response mapping template in an Amazon S3 bucket.

public virtual string? ResponseMappingTemplateS3Location { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

Runtime

Describes a runtime used by an AWS AppSync resolver or AWS AppSync function.

public virtual object? Runtime { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnResolver.IAppSyncRuntimeProperty

SyncConfig

The SyncConfig for a resolver attached to a versioned data source.

public virtual object? SyncConfig { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnResolver.ISyncConfigProperty

TypeName

The GraphQL type that invokes this resolver.

public virtual string TypeName { get; set; }
Property Value

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

Methods

ArnForResolver(IResolverRef)

The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema.

public static string ArnForResolver(IResolverRef resource)
Parameters
resource IResolverRef
Returns

string

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

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 cfnResolver = new CfnResolver(this, "MyCfnResolver", new CfnResolverProps {
                 ApiId = "apiId",
                 FieldName = "fieldName",
                 TypeName = "typeName",

                 // the properties below are optional
                 CachingConfig = new CachingConfigProperty {
                     Ttl = 123,

                     // the properties below are optional
                     CachingKeys = new [] { "cachingKeys" }
                 },
                 Code = "code",
                 CodeS3Location = "codeS3Location",
                 DataSourceName = "dataSourceName",
                 Kind = "kind",
                 MaxBatchSize = 123,
                 MetricsConfig = "metricsConfig",
                 PipelineConfig = new PipelineConfigProperty {
                     Functions = new [] { "functions" }
                 },
                 RequestMappingTemplate = "requestMappingTemplate",
                 RequestMappingTemplateS3Location = "requestMappingTemplateS3Location",
                 ResponseMappingTemplate = "responseMappingTemplate",
                 ResponseMappingTemplateS3Location = "responseMappingTemplateS3Location",
                 Runtime = new AppSyncRuntimeProperty {
                     Name = "name",
                     RuntimeVersion = "runtimeVersion"
                 },
                 SyncConfig = new SyncConfigProperty {
                     ConflictDetection = "conflictDetection",

                     // the properties below are optional
                     ConflictHandler = "conflictHandler",
                     LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {
                         LambdaConflictHandlerArn = "lambdaConflictHandlerArn"
                     }
                 }
             });

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

IsCfnResolver(object)

Checks whether the given object is a CfnResolver.

public static bool IsCfnResolver(object x)
Parameters
x object
Returns

bool

Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference .

When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CloudFormation template. Changing the Amazon S3 file content without changing a property value will not result in an update operation.

See Update Behaviors of Stack Resources in the AWS CloudFormation User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

CloudformationResource: AWS::AppSync::Resolver

ExampleMetadata: fixture=_generated

Implements

IInspectable
IResolverRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX