Interface AppSyncLambdaDataSourceProps
- All Superinterfaces:
AppSyncBackedDataSourceProps,AppSyncBaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AppSyncLambdaDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-03T13:58:15.726Z")
@Stability(Stable)
public interface AppSyncLambdaDataSourceProps
extends software.amazon.jsii.JsiiSerializable, AppSyncBackedDataSourceProps
Properties for an AppSync Lambda datasource.
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.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.lambda.*;
import software.amazon.awscdk.interfaces.appsync.*;
IApiRef apiRef;
Function function_;
Role role;
AppSyncLambdaDataSourceProps appSyncLambdaDataSourceProps = AppSyncLambdaDataSourceProps.builder()
.api(apiRef)
.lambdaFunction(function_)
// the properties below are optional
.description("description")
.name("name")
.serviceRole(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAppSyncLambdaDataSourcePropsstatic final classAn implementation forAppSyncLambdaDataSourceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Lambda function to call to interact with this data source.Methods inherited from interface software.amazon.awscdk.services.appsync.AppSyncBackedDataSourceProps
getServiceRoleMethods inherited from interface software.amazon.awscdk.services.appsync.AppSyncBaseDataSourceProps
getApi, getDescription, getNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLambdaFunction
The Lambda function to call to interact with this data source. -
builder
-