@Stability(value=Experimental) public static final class AppsyncFunction.Builder extends Object implements software.amazon.jsii.Builder<AppsyncFunction>
AppsyncFunction.| Modifier and Type | Method and Description |
|---|---|
AppsyncFunction.Builder |
api(IGraphqlApi api)
(experimental) the GraphQL Api linked to this AppSync Function.
|
AppsyncFunction |
build() |
static AppsyncFunction.Builder |
create(software.constructs.Construct scope,
String id) |
AppsyncFunction.Builder |
dataSource(BaseDataSource dataSource)
(experimental) the data source linked to this AppSync Function.
|
AppsyncFunction.Builder |
description(String description)
(experimental) the description for this AppSync Function.
|
AppsyncFunction.Builder |
name(String name)
(experimental) the name of the AppSync Function.
|
AppsyncFunction.Builder |
requestMappingTemplate(MappingTemplate requestMappingTemplate)
(experimental) the request mapping template for the AppSync Function.
|
AppsyncFunction.Builder |
responseMappingTemplate(MappingTemplate responseMappingTemplate)
(experimental) the response mapping template for the AppSync Function.
|
@Stability(value=Experimental) public static AppsyncFunction.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.AppsyncFunction.Builder.@Stability(value=Experimental) public AppsyncFunction.Builder name(String name)
name - the name of the AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunction.Builder description(String description)
Default: - no description
description - the description for this AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunction.Builder requestMappingTemplate(MappingTemplate requestMappingTemplate)
Default: - no request mapping template
requestMappingTemplate - the request mapping template for the AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunction.Builder responseMappingTemplate(MappingTemplate responseMappingTemplate)
Default: - no response mapping template
responseMappingTemplate - the response mapping template for the AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunction.Builder api(IGraphqlApi api)
api - the GraphQL Api linked to this AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunction.Builder dataSource(BaseDataSource dataSource)
dataSource - the data source linked to this AppSync Function. This parameter is required.this@Stability(value=Experimental) public AppsyncFunction build()
build in interface software.amazon.jsii.Builder<AppsyncFunction>Copyright © 2022. All rights reserved.