Interface CfnDeploymentGroup.IAlarmConfigurationProperty
The AlarmConfiguration property type configures CloudWatch alarms for an AWS CodeDeploy deployment group.
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDeploymentGroup.IAlarmConfigurationProperty
Syntax (vb)
Public Interface 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
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 . |
Properties
Alarms
A list of alarms configured for the deployment or deployment group.
object? Alarms { get; }
Property Value
Remarks
A maximum of 10 alarms can be added.
Type union: either IResolvable or (either IResolvable or CfnDeploymentGroup.IAlarmProperty)[]
Enabled
Indicates whether the alarm configuration is enabled.
object? Enabled { get; }
Property Value
Remarks
IgnorePollAlarmFailure
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch .
object? IgnorePollAlarmFailure { get; }