Class SsmIncidentAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.actions.SsmIncidentAction
- All Implemented Interfaces:
IAlarmAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:54.829Z")
@Stability(Stable)
public class SsmIncidentAction
extends software.amazon.jsii.JsiiObject
implements IAlarmAction
Use an SSM Incident Response Plan as an Alarm action.
Example:
Alarm alarm; // Create an Incident Manager incident based on a specific response plan alarm.addAlarmAction( new SsmIncidentAction("ResponsePlanName"));
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.IAlarmAction
IAlarmAction.Jsii$Default, IAlarmAction.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionSsmIncidentAction
(String responsePlanName) protected
SsmIncidentAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
SsmIncidentAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionReturns an alarm action configuration to use an SSM Incident as an alarm action based on an Incident Manager Response Plan.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SsmIncidentAction
protected SsmIncidentAction(software.amazon.jsii.JsiiObjectRef objRef) -
SsmIncidentAction
protected SsmIncidentAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SsmIncidentAction
- Parameters:
responsePlanName
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public AlarmActionConfig bind(@NotNull software.constructs.Construct _scope, @NotNull IAlarm _alarm) Returns an alarm action configuration to use an SSM Incident as an alarm action based on an Incident Manager Response Plan.- Specified by:
bind
in interfaceIAlarmAction
- Parameters:
_scope
- This parameter is required._alarm
- This parameter is required.
-