Class CfnDeploymentGroup.AlarmConfigurationProperty
The AlarmConfiguration
property type configures CloudWatch alarms for an AWS CodeDeploy deployment group.
Inheritance
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AlarmConfigurationProperty : Object, CfnDeploymentGroup.IAlarmConfigurationProperty
Syntax (vb)
Public Class AlarmConfigurationProperty
Inherits Object
Implements CfnDeploymentGroup.IAlarmConfigurationProperty
Remarks
AlarmConfiguration
is a property of the DeploymentGroup resource.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeDeploy;
var alarmConfigurationProperty = new AlarmConfigurationProperty {
Alarms = new [] { new AlarmProperty {
Name = "name"
} },
Enabled = false,
IgnorePollAlarmFailure = false
};
Synopsis
Constructors
AlarmConfigurationProperty() |
Properties
Alarms | A list of alarms configured for the deployment or deployment group. |
Enabled | Indicates whether the alarm configuration is enabled. |
IgnorePollAlarmFailure | Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch . |
Constructors
AlarmConfigurationProperty()
public AlarmConfigurationProperty()
Properties
Alarms
A list of alarms configured for the deployment or deployment group.
public object Alarms { get; set; }
Property Value
System.Object
Remarks
Enabled
Indicates whether the alarm configuration is enabled.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
IgnorePollAlarmFailure
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch .
public object IgnorePollAlarmFailure { get; set; }
Property Value
System.Object