Interface CfnDeploymentGroup.IAlarmProperty
The Alarm
property type specifies a CloudWatch alarm to use for an AWS CodeDeploy deployment group.
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAlarmProperty
Syntax (vb)
Public Interface IAlarmProperty
Remarks
The Alarm
property of the CodeDeploy DeploymentGroup AlarmConfiguration property contains a list of Alarm
property types.
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 alarmProperty = new AlarmProperty {
Name = "name"
};
Synopsis
Properties
Name | The name of the alarm. |
Properties
Name
The name of the alarm.
virtual string Name { get; }
Property Value
System.String
Remarks
Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.