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.119.0 (build 1634eac)",
date="2025-11-13T16:09:58.886Z")
@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")
.maxBatchSize(123)
.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.default NumberThe maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.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
-
getMaxBatchSize
The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.Can only be set when using LambdaDataSource.
Default: - No max batch size
-
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
-