Interface AppsyncFunctionProps
- All Superinterfaces:
BaseAppsyncFunctionProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AppsyncFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:45.374Z")
@Stability(Stable)
public interface AppsyncFunctionProps
extends software.amazon.jsii.JsiiSerializable, BaseAppsyncFunctionProps
the CDK properties for AppSync Functions.
Example:
GraphqlApi api;
AppsyncFunction appsyncFunction = AppsyncFunction.Builder.create(this, "function")
.name("appsync_function")
.api(api)
.dataSource(api.addNoneDataSource("none"))
.requestMappingTemplate(MappingTemplate.fromFile("request.vtl"))
.responseMappingTemplate(MappingTemplate.fromFile("response.vtl"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAppsyncFunctionPropsstatic final classAn implementation forAppsyncFunctionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic AppsyncFunctionProps.Builderbuilder()getApi()the GraphQL Api linked to this AppSync Function.the data source linked to this AppSync Function.Methods inherited from interface software.amazon.awscdk.services.appsync.BaseAppsyncFunctionProps
getCode, getDescription, getMaxBatchSize, getName, getRequestMappingTemplate, getResponseMappingTemplate, getRuntimeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApi
the GraphQL Api linked to this AppSync Function. -
getDataSource
the data source linked to this AppSync Function. -
builder
- Returns:
- a
AppsyncFunctionProps.BuilderofAppsyncFunctionProps
-