Interface ResolverProps

All Superinterfaces:
BaseResolverProps, ExtendedResolverProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ResolverProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:03.627Z") @Stability(Stable) public interface ResolverProps extends software.amazon.jsii.JsiiSerializable, ExtendedResolverProps
Additional property for an AppSync resolver for GraphQL API reference.

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();