@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:37:02.349Z") public interface LambdaDataSourceProps extends 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.
|
getServiceRole
getApi, getDescription, getName
IFunction getLambdaFunction()
static LambdaDataSourceProps.Builder builder()
builder
in interface BackedDataSourceProps
builder
in interface BaseDataSourceProps
LambdaDataSourceProps.Builder
of LambdaDataSourceProps