Class Resolver
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.services.appsync.Resolver
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:26.512Z")
@Stability(Stable)
public class Resolver
extends software.constructs.Construct
An AppSync resolver.
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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Resolver
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
Resolver
(software.amazon.jsii.JsiiObjectRef objRef) Resolver
(software.constructs.Construct scope, String id, ResolverProps props) -
Method Summary
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Resolver
protected Resolver(software.amazon.jsii.JsiiObjectRef objRef) -
Resolver
protected Resolver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Resolver
@Stability(Stable) public Resolver(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ResolverProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
getArn
the ARN of the resolver.
-