AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class EnableAlarmActionsRequest : AmazonCloudWatchRequest IRequestEvents
The EnableAlarmActionsRequest type exposes the following members
Name | Description | |
---|---|---|
EnableAlarmActionsRequest() |
Name | Type | Description | |
---|---|---|---|
AlarmNames | System.Collections.Generic.List<System.String> |
Gets and sets the property AlarmNames.
The names of the alarms to enable actions for. |
This example shows how to enable actions for an alarm.
var client = new AmazonCloudWatchClient(); var request = new EnableAlarmActionsRequest { AlarmNames = new List<string>() { "awseb-e-kkbEXAMPLE-stack-CloudwatchAlarmLow-1WVXD9EXAMPLE" } }; client.EnableAlarmActions(request);
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8