Class LambdaDestination
Use an AWS Lambda function as an event destination.
Inheritance
Implements
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) | |
LambdaDestination(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
LambdaDestination(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
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)
LambdaDestination(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected LambdaDestination(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
LambdaDestination(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected LambdaDestination(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ExtensionUri
The URI of the extension event destination.
public virtual string ExtensionUri { get; }
Property Value
System.String
PolicyDocument
The IAM policy document to invoke the event destination.
public virtual PolicyDocument PolicyDocument { get; }
Property Value
Type
The type of the extension event destination.
public virtual SourceType Type { get; }
Property Value