Show / Hide Table of Contents

Class LambdaProps

Construction properties for a Lambda action.

Inheritance
object
LambdaProps
Implements
ILambdaProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SES.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LambdaProps : ILambdaProps
Syntax (vb)
Public Class LambdaProps 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

LambdaProps()

Construction properties for a Lambda action.

Properties

Function

The Lambda function to invoke.

InvocationType

The invocation type of the Lambda function.

Topic

The SNS topic to notify when the Lambda action is taken.

Constructors

LambdaProps()

Construction properties for a Lambda action.

public LambdaProps()
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
            };

Properties

Function

The Lambda function to invoke.

public IFunction Function { get; set; }
Property Value

IFunction

Remarks

ExampleMetadata: fixture=_generated

InvocationType

The invocation type of the Lambda function.

public LambdaInvocationType? InvocationType { get; set; }
Property Value

LambdaInvocationType?

Remarks

Default: Event

Topic

The SNS topic to notify when the Lambda action is taken.

public ITopic? Topic { get; set; }
Property Value

ITopic

Remarks

Default: no notification

Implements

ILambdaProps
Back to top Generated by DocFX