Interface ILambdaDataSourceProps
(experimental) Properties for an AppSync Lambda datasource.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface ILambdaDataSourceProps : IBackedDataSourceProps, IBaseDataSourceProps
Syntax (vb)
Public Interface ILambdaDataSourceProps
Inherits IBackedDataSourceProps, IBaseDataSourceProps
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.Lambda;
Function function_;
GraphqlApi graphqlApi;
Role role;
var lambdaDataSourceProps = new LambdaDataSourceProps {
Api = graphqlApi,
LambdaFunction = function_,
// the properties below are optional
Description = "description",
Name = "name",
ServiceRole = role
};
Synopsis
Properties
LambdaFunction | (experimental) The Lambda function to call to interact with this data source. |
Properties
LambdaFunction
(experimental) The Lambda function to call to interact with this data source.
IFunction LambdaFunction { get; }
Property Value
Remarks
Stability: Experimental