LambdaActionConfig Struct
LambdaAction configuration.
| Source | aws-ses/lib/receipt-rule-action.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const lambdaActionConfig: ses.LambdaActionConfig = {
functionArn: 'functionArn',
// the properties below are optional
invocationType: 'invocationType',
topicArn: 'topicArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
lambda_action_config = ses.LambdaActionConfig(
function_arn="functionArn",
# the properties below are optional
invocation_type="invocationType",
topic_arn="topicArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
LambdaActionConfig lambdaActionConfig = LambdaActionConfig.builder()
.functionArn("functionArn")
// the properties below are optional
.invocationType("invocationType")
.topicArn("topicArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var lambdaActionConfig = new LambdaActionConfig {
FunctionArn = "functionArn",
// the properties below are optional
InvocationType = "invocationType",
TopicArn = "topicArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
lambdaActionConfig := &LambdaActionConfig{
FunctionArn: jsii.String("functionArn"),
// the properties below are optional
InvocationType: jsii.String("invocationType"),
TopicArn: jsii.String("topicArn"),
}
Properties
The Amazon Resource Name (ARN) of the AWS Lambda function.
invocationTypeoptionalstringinvocation_typeoptionalstrinvocationTypeoptionalStringInvocationTypeoptionalstringInvocationTypeoptional*string = 'Event' #The invocation type of the AWS Lambda function.
topicArnoptionalstringtopic_arnoptionalstrtopicArnoptionalStringTopicArnoptionalstringTopicArnoptional*string #The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is executed.
Default: No notification is sent to SNS.