Interface LambdaDataSourceProps
- All Superinterfaces:
BackedDataSourceProps
,BaseDataSourceProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:57.195Z")
@Stability(Stable)
public interface LambdaDataSourceProps
extends software.amazon.jsii.JsiiSerializable, BackedDataSourceProps
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.*; Function function_; GraphqlApi graphqlApi; Role role; LambdaDataSourceProps lambdaDataSourceProps = LambdaDataSourceProps.builder() .api(graphqlApi) .lambdaFunction(function_) // the properties below are optional .description("description") .name("name") .serviceRole(role) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLambdaDataSourceProps
static final class
An implementation forLambdaDataSourceProps
-
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.BackedDataSourceProps
getServiceRole
Methods inherited from interface software.amazon.awscdk.services.appsync.BaseDataSourceProps
getApi, getDescription, getName
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLambdaFunction
The Lambda function to call to interact with this data source. -
builder
- Returns:
- a
LambdaDataSourceProps.Builder
ofLambdaDataSourceProps
-