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.104.0 (build e79254c)",
date="2025-01-15T21:09:14.571Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBaseAppsyncFunctionProps
static final class
An implementation forBaseAppsyncFunctionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Code
getCode()
The function code.default String
the description for this AppSync Function.default Number
The 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 MappingTemplate
the request mapping template for the AppSync Function.default MappingTemplate
the response mapping template for the AppSync Function.default FunctionRuntime
The 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.Builder
ofBaseAppsyncFunctionProps
-