@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.891Z") @Stability(value=Experimental) public interface ResolverProps extends software.amazon.jsii.JsiiSerializable, ExtendedResolverProps
Example:
GraphqlApi api;
AppsyncFunction appsyncFunction;
Resolver pipelineResolver = Resolver.Builder.create(this, "pipeline")
.api(api)
.dataSource(api.addNoneDataSource("none"))
.typeName("typeName")
.fieldName("fieldName")
.requestMappingTemplate(MappingTemplate.fromFile("beforeRequest.vtl"))
.pipelineConfig(List.of(appsyncFunction))
.responseMappingTemplate(MappingTemplate.fromFile("afterResponse.vtl"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResolverProps.Builder
A builder for
ResolverProps |
static class |
ResolverProps.Jsii$Proxy
An implementation for
ResolverProps |
| Modifier and Type | Method and Description |
|---|---|
static ResolverProps.Builder |
builder() |
IGraphqlApi |
getApi()
(experimental) The API this resolver is attached to.
|
getDataSourcegetCachingConfig, getFieldName, getPipelineConfig, getRequestMappingTemplate, getResponseMappingTemplate, getTypeName@Stability(value=Experimental) @NotNull IGraphqlApi getApi()
@Stability(value=Experimental) static ResolverProps.Builder builder()
builder in interface BaseResolverPropsbuilder in interface ExtendedResolverPropsResolverProps.Builder of ResolverPropsCopyright © 2022. All rights reserved.