LambdaActionConfig
- class aws_cdk.aws_ses.LambdaActionConfig(*, function_arn, invocation_type=None, topic_arn=None)
Bases:
object
LambdaAction configuration.
- Parameters:
function_arn (
str
) – The Amazon Resource Name (ARN) of the AWS Lambda function.invocation_type (
Optional
[str
]) – The invocation type of the AWS Lambda function. Default: ‘Event’topic_arn (
Optional
[str
]) – 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.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ses as ses lambda_action_config = ses.LambdaActionConfig( function_arn="functionArn", # the properties below are optional invocation_type="invocationType", topic_arn="topicArn" )
Attributes
- function_arn
The Amazon Resource Name (ARN) of the AWS Lambda function.
- invocation_type
The invocation type of the AWS Lambda function.
- topic_arn
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.
- Link: