Show / Hide Table of Contents

Class LambdaDestination

Use an AWS Lambda function as an event destination.

Inheritance
object
LambdaDestination
Implements
IEventDestination
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LambdaDestination : DeputyBase, IEventDestination
Syntax (vb)
Public Class LambdaDestination Inherits DeputyBase Implements IEventDestination
Remarks

ExampleMetadata: infused

Examples
Function fn;


            new Extension(this, "MyExtension", new ExtensionProps {
                Actions = new [] {
                    new Action(new ActionProps {
                        ActionPoints = new [] { ActionPoint.ON_DEPLOYMENT_START },
                        EventDestination = new LambdaDestination(fn)
                    }) }
            });

Synopsis

Constructors

LambdaDestination(IFunction)

Use an AWS Lambda function as an event destination.

Properties

ExtensionUri

The URI of the extension event destination.

PolicyDocument

The IAM policy document to invoke the event destination.

Type

The type of the extension event destination.

Constructors

LambdaDestination(IFunction)

Use an AWS Lambda function as an event destination.

public LambdaDestination(IFunction func)
Parameters
func IFunction
Remarks

ExampleMetadata: infused

Examples
Function fn;


            new Extension(this, "MyExtension", new ExtensionProps {
                Actions = new [] {
                    new Action(new ActionProps {
                        ActionPoints = new [] { ActionPoint.ON_DEPLOYMENT_START },
                        EventDestination = new LambdaDestination(fn)
                    }) }
            });

Properties

ExtensionUri

The URI of the extension event destination.

public virtual string ExtensionUri { get; }
Property Value

string

Remarks

ExampleMetadata: infused

PolicyDocument

The IAM policy document to invoke the event destination.

public virtual PolicyDocument? PolicyDocument { get; }
Property Value

PolicyDocument

Remarks

ExampleMetadata: infused

Type

The type of the extension event destination.

public virtual SourceType Type { get; }
Property Value

SourceType

Remarks

ExampleMetadata: infused

Implements

IEventDestination
Back to top Generated by DocFX