interface LambdaActionConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.LambdaActionConfig |
![]() | software.amazon.awscdk.services.ses.LambdaActionConfig |
![]() | aws_cdk.aws_ses.LambdaActionConfig |
![]() | @aws-cdk/aws-ses » LambdaActionConfig |
LambdaAction configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ses from '@aws-cdk/aws-ses';
const lambdaActionConfig: ses.LambdaActionConfig = {
functionArn: 'functionArn',
// the properties below are optional
invocationType: 'invocationType',
topicArn: 'topicArn',
};
Properties
Name | Type | Description |
---|---|---|
function | string | The Amazon Resource Name (ARN) of the AWS Lambda function. |
invocation | string | The invocation type of the AWS Lambda function. |
topic | string | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is executed. |
functionArn
Type:
string
The Amazon Resource Name (ARN) of the AWS Lambda function.
invocationType?
Type:
string
(optional, default: 'Event')
The invocation type of the AWS Lambda function.
topicArn?
Type:
string
(optional, default: No notification is sent to SNS.)
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is executed.