@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:03.110Z") @Stability(value=Experimental) public class LambdaDataSource extends BackedDataSource
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;
LambdaDataSource lambdaDataSource = LambdaDataSource.Builder.create(this, "MyLambdaDataSource")
.api(graphqlApi)
.lambdaFunction(function_)
// the properties below are optional
.description("description")
.name("name")
.serviceRole(role)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
LambdaDataSource.Builder
(experimental) A fluent builder for
LambdaDataSource. |
software.amazon.jsii.JsiiObject.InitializationModeIGrantable.Jsii$DefaultIConstruct.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
LambdaDataSource(software.constructs.Construct scope,
String id,
LambdaDataSourceProps props) |
protected |
LambdaDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaDataSource(software.amazon.jsii.JsiiObjectRef objRef) |
getGrantPrincipalcreateFunction, createResolver, getApi, getDs, getName, getServiceRole, setApi, setServiceRolegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected LambdaDataSource(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public LambdaDataSource(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
LambdaDataSourceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.