AWS SDK Version 3 for .NET
API Reference

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.

Information about alarms associated with a deployment or deployment group.

Inheritance Hierarchy

System.Object
  Amazon.CodeDeploy.Model.AlarmConfiguration

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public class AlarmConfiguration

The AlarmConfiguration type exposes the following members

Constructors

NameDescription
Public Method AlarmConfiguration()

Properties

NameTypeDescription
Public Property Alarms System.Collections.Generic.List<Amazon.CodeDeploy.Model.Alarm>

Gets and sets the property Alarms.

A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.

Public Property Enabled System.Boolean

Gets and sets the property Enabled.

Indicates whether the alarm configuration is enabled.

Public Property IgnorePollAlarmFailure System.Boolean

Gets and sets the property IgnorePollAlarmFailure.

Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.

  • true: The deployment proceeds even if alarm status information can't be retrieved from Amazon CloudWatch.

  • false: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5