@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.847Z") @Stability(value=Experimental) public interface LambdaDataSourceProps extends software.amazon.jsii.JsiiSerializable, BackedDataSourceProps
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LambdaDataSourceProps.Builder
A builder for
LambdaDataSourceProps |
static class |
LambdaDataSourceProps.Jsii$Proxy
An implementation for
LambdaDataSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static LambdaDataSourceProps.Builder |
builder() |
IFunction |
getLambdaFunction()
(experimental) The Lambda function to call to interact with this data source.
|
getServiceRolegetApi, getDescription, getName@Stability(value=Experimental) @NotNull IFunction getLambdaFunction()
@Stability(value=Experimental) static LambdaDataSourceProps.Builder builder()
builder in interface BackedDataSourcePropsbuilder in interface BaseDataSourcePropsLambdaDataSourceProps.Builder of LambdaDataSourcePropsCopyright © 2022. All rights reserved.