AwsCloudwatchLambdaActionArgs

interface AwsCloudwatchLambdaActionArgs { createInvokePermission?: boolean; function: AwsCloudwatchLambdaFunctionReference; }

Managed Lambda action used by CloudWatch alarms.

Example

CODE
const action: AwsCloudwatchLambdaActionArgs = { function: alarmHandler };

Properties

createInvokePermission: boolean

Whether to create the required Lambda resource-policy permission. Defaults to true.

function: AwsCloudwatchLambdaFunctionReference

Lambda function component reference.