Class Resolver
An AppSync resolver.
Inheritance
System.Object
Resolver
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Resolver : Construct
Syntax (vb)
Public Class Resolver
Inherits Construct
Remarks
ExampleMetadata: infused
Examples
GraphqlApi api;
AppsyncFunction appsyncFunction;
var pipelineResolver = new Resolver(this, "pipeline", new ResolverProps {
Api = api,
DataSource = api.AddNoneDataSource("none"),
TypeName = "typeName",
FieldName = "fieldName",
RequestMappingTemplate = MappingTemplate.FromFile("beforeRequest.vtl"),
PipelineConfig = new [] { appsyncFunction },
ResponseMappingTemplate = MappingTemplate.FromFile("afterResponse.vtl")
});
Synopsis
Constructors
Resolver(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Resolver(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Resolver(Construct, String, IResolverProps) |
Properties
Arn | the ARN of the resolver. |
Constructors
Resolver(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Resolver(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Resolver(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Resolver(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Resolver(Construct, String, IResolverProps)
public Resolver(Construct scope, string id, IResolverProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IResolverProps
Properties
Arn
the ARN of the resolver.
public virtual string Arn { get; }
Property Value
System.String