Class SsmIncidentAction
Use an SSM Incident Response Plan as an Alarm action.
Inheritance
System.Object
SsmIncidentAction
Implements
Namespace: Amazon.CDK.AWS.CloudWatch.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SsmIncidentAction : DeputyBase, IAlarmAction
Syntax (vb)
Public Class SsmIncidentAction
Inherits DeputyBase
Implements IAlarmAction
Remarks
ExampleMetadata: infused
Examples
Alarm alarm;
// Create an Incident Manager incident based on a specific response plan
alarm.AddAlarmAction(
new SsmIncidentAction("ResponsePlanName"));
Synopsis
Constructors
SsmIncidentAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SsmIncidentAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
SsmIncidentAction(String) |
Methods
Bind(Construct, IAlarm) | Returns an alarm action configuration to use an SSM Incident as an alarm action based on an Incident Manager Response Plan. |
Constructors
SsmIncidentAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SsmIncidentAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SsmIncidentAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SsmIncidentAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
SsmIncidentAction(String)
public SsmIncidentAction(string responsePlanName)
Parameters
- responsePlanName System.String
Methods
Bind(Construct, IAlarm)
Returns an alarm action configuration to use an SSM Incident as an alarm action based on an Incident Manager Response Plan.
public virtual IAlarmActionConfig Bind(Construct scope, IAlarm alarm)
Parameters
- scope Constructs.Construct
- alarm IAlarm
Returns