Class LambdaProps
Construction properties for a Lambda action.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.SES.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LambdaProps : Object, ILambdaProps
Syntax (vb)
Public Class LambdaProps
Inherits Object
Implements ILambdaProps
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.Lambda;
using Amazon.CDK.AWS.SES.Actions;
using Amazon.CDK.AWS.SNS;
Function function_;
Topic topic;
var lambdaProps = new LambdaProps {
Function = function_,
// the properties below are optional
InvocationType = LambdaInvocationType.EVENT,
Topic = topic
};
Synopsis
Constructors
Lambda |
Properties
Function | The Lambda function to invoke. |
Invocation |
The invocation type of the Lambda function. |
Topic | The SNS topic to notify when the Lambda action is taken. |
Constructors
LambdaProps()
public LambdaProps()
Properties
Function
InvocationType
The invocation type of the Lambda function.
public Nullable<LambdaInvocationType> InvocationType { get; set; }
Property Value
System.
Remarks
Default: Event
Topic
The SNS topic to notify when the Lambda action is taken.
public ITopic Topic { get; set; }
Property Value
Remarks
Default: no notification