Interface AppSyncLambdaDataSourceProps
- All Superinterfaces:
AppSyncBackedDataSourceProps,AppSyncBaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AppSyncLambdaDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:09:58.875Z")
@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.*;
IApi api;
Function function_;
Role role;
AppSyncLambdaDataSourceProps appSyncLambdaDataSourceProps = AppSyncLambdaDataSourceProps.builder()
.api(api)
.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
-