Class Resolver
(experimental) An AppSync resolver.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class Resolver : Construct, IConstruct, IDependable
Syntax (vb)
Public Class Resolver
Inherits Construct
Implements IConstruct, IDependable
Remarks
Stability: Experimental
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 | (experimental) 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
Remarks
Stability: Experimental
Properties
Arn
(experimental) the ARN of the resolver.
public virtual string Arn { get; }
Property Value
System.String
Remarks
Stability: Experimental
Implements
Constructs.IConstruct