Interface IAppSyncLambdaDataSourceProps
Properties for an AppSync Lambda datasource.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAppSyncLambdaDataSourceProps : IAppSyncBackedDataSourceProps, IAppSyncBaseDataSourceProps
Syntax (vb)
Public Interface IAppSyncLambdaDataSourceProps Inherits IAppSyncBackedDataSourceProps, IAppSyncBaseDataSourceProps
Remarks
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;
using Amazon.CDK.Interfaces.AppSync;
IApiRef apiRef;
Function function_;
Role role;
var appSyncLambdaDataSourceProps = new AppSyncLambdaDataSourceProps {
Api = apiRef,
LambdaFunction = function_,
// the properties below are optional
Description = "description",
Name = "name",
ServiceRole = role
};
Synopsis
Properties
| LambdaFunction | The Lambda function to call to interact with this data source. |
Properties
LambdaFunction
The Lambda function to call to interact with this data source.
IFunction LambdaFunction { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated