Show / Hide Table of Contents

Interface IAppSyncLambdaDataSourceProps

Properties for an AppSync Lambda datasource.

Inherited Members
IAppSyncBackedDataSourceProps.ServiceRole
IAppSyncBaseDataSourceProps.Api
IAppSyncBaseDataSourceProps.Description
IAppSyncBaseDataSourceProps.Name
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

IFunction

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX