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 CfnDeploymentGroup.IAlarmProperty
Syntax (vb)
Public Interface CfnDeploymentGroup.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.
string? Name { get; }
Property Value
Remarks
Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.