Interface BaseAppsyncFunctionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AppsyncFunctionProps
- All Known Implementing Classes:
AppsyncFunctionProps.Jsii$Proxy,BaseAppsyncFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:21.949Z")
@Stability(Stable)
public interface BaseAppsyncFunctionProps
extends software.amazon.jsii.JsiiSerializable
the base properties for AppSync Functions.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
Code code;
FunctionRuntime functionRuntime;
MappingTemplate mappingTemplate;
BaseAppsyncFunctionProps baseAppsyncFunctionProps = BaseAppsyncFunctionProps.builder()
.name("name")
// the properties below are optional
.code(code)
.description("description")
.requestMappingTemplate(mappingTemplate)
.responseMappingTemplate(mappingTemplate)
.runtime(functionRuntime)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBaseAppsyncFunctionPropsstatic final classAn implementation forBaseAppsyncFunctionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default CodegetCode()The function code.default Stringthe description for this AppSync Function.getName()the name of the AppSync Function.default MappingTemplatethe request mapping template for the AppSync Function.default MappingTemplatethe response mapping template for the AppSync Function.default FunctionRuntimeThe functions runtime.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
the name of the AppSync Function. -
getCode
The function code.Default: - no code is used
-
getDescription
the description for this AppSync Function.Default: - no description
-
getRequestMappingTemplate
the request mapping template for the AppSync Function.Default: - no request mapping template
-
getResponseMappingTemplate
the response mapping template for the AppSync Function.Default: - no response mapping template
-
getRuntime
The functions runtime.Default: - no function runtime, VTL mapping templates used
-
builder
- Returns:
- a
BaseAppsyncFunctionProps.BuilderofBaseAppsyncFunctionProps
-