Class CfnDeploymentGroupPropsMixin.AlarmProperty
The Alarm property type specifies a CloudWatch alarm to use for an AWS CodeDeploy deployment group.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.CodeDeploy.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDeploymentGroupPropsMixin.AlarmProperty : CfnDeploymentGroupPropsMixin.IAlarmProperty
Syntax (vb)
Public Class CfnDeploymentGroupPropsMixin.AlarmProperty Implements CfnDeploymentGroupPropsMixin.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.Mixins.Preview.AWS.CodeDeploy.Mixins;
var alarmProperty = new AlarmProperty {
Name = "name"
};
Synopsis
Constructors
| AlarmProperty() | The |
Properties
| Name | The name of the alarm. |
Constructors
AlarmProperty()
The Alarm property type specifies a CloudWatch alarm to use for an AWS CodeDeploy deployment group.
public AlarmProperty()
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.Mixins.Preview.AWS.CodeDeploy.Mixins;
var alarmProperty = new AlarmProperty {
Name = "name"
};
Properties
Name
The name of the alarm.
public string? Name { get; set; }
Property Value
Remarks
Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.