aws-cdk-lib.aws_cloudwatch_actions.SsmIncidentAction

class SsmIncidentAction

LanguageType name
.NETAmazon.CDK.AWS.CloudWatch.Actions.SsmIncidentAction
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudwatchactions#SsmIncidentAction
Javasoftware.amazon.awscdk.services.cloudwatch.actions.SsmIncidentAction
Pythonaws_cdk.aws_cloudwatch_actions.SsmIncidentAction
TypeScript (source)aws-cdk-lib » aws_cloudwatch_actions » SsmIncidentAction

Implements IAlarmAction

Use an SSM Incident Response Plan as an Alarm action.

Example

declare const alarm: cloudwatch.Alarm;
// Create an Incident Manager incident based on a specific response plan
alarm.addAlarmAction(
  new actions.SsmIncidentAction('ResponsePlanName')
);

Initializer

new SsmIncidentAction(responsePlanName: string)

Parameters

  • responsePlanName string

Methods

NameDescription
bind(_scope, _alarm)Returns an alarm action configuration to use an SSM Incident as an alarm action based on an Incident Manager Response Plan.

bind(_scope, _alarm)

public bind(_scope: Construct, _alarm: IAlarm): AlarmActionConfig

Parameters

  • _scope Construct
  • _alarm IAlarm

Returns

  • AlarmActionConfig

Returns an alarm action configuration to use an SSM Incident as an alarm action based on an Incident Manager Response Plan.