Interface AppsyncFunctionProps
- All Superinterfaces:
BaseAppsyncFunctionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AppsyncFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.354Z")
@Stability(Experimental)
public interface AppsyncFunctionProps
extends software.amazon.jsii.JsiiSerializable, BaseAppsyncFunctionProps
(experimental) 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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAppsyncFunctionProps
static final class
An implementation forAppsyncFunctionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic AppsyncFunctionProps.Builder
builder()
getApi()
(experimental) the GraphQL Api linked to this AppSync Function.(experimental) the data source linked to this AppSync Function.Methods inherited from interface software.amazon.awscdk.services.appsync.BaseAppsyncFunctionProps
getDescription, getName, getRequestMappingTemplate, getResponseMappingTemplate
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApi
(experimental) the GraphQL Api linked to this AppSync Function. -
getDataSource
(experimental) the data source linked to this AppSync Function. -
builder
- Returns:
- a
AppsyncFunctionProps.Builder
ofAppsyncFunctionProps
-