Class Lambda
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
Inheritance
System.Object
Lambda
Implements
Namespace: Amazon.CDK.AWS.SES.Actions
Assembly: Amazon.CDK.AWS.SES.Actions.dll
Syntax (csharp)
public class Lambda : DeputyBase, IReceiptRuleAction
Syntax (vb)
Public Class Lambda
Inherits DeputyBase
Implements IReceiptRuleAction
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 lambda = new Lambda(new LambdaProps {
Function = function_,
// the properties below are optional
InvocationType = LambdaInvocationType.EVENT,
Topic = topic
});
Synopsis
Constructors
Lambda(ILambdaProps) | |
Lambda(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Lambda(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(IReceiptRule) | Returns the receipt rule action specification. |
Constructors
Lambda(ILambdaProps)
Lambda(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Lambda(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Lambda(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Lambda(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(IReceiptRule)
Returns the receipt rule action specification.
public virtual IReceiptRuleActionConfig Bind(IReceiptRule rule)
Parameters
- rule IReceiptRule
Returns