interface AlarmProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.AlarmProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_AlarmProperty | 
|  Java | software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.AlarmProperty | 
|  Python | aws_cdk.aws_codedeploy.CfnDeploymentGroup.AlarmProperty | 
|  TypeScript | aws-cdk-lib»aws_codedeploy»CfnDeploymentGroup»AlarmProperty | 
The Alarm property type specifies a CloudWatch alarm to use for an AWS CodeDeploy deployment group.
The Alarm property of the CodeDeploy DeploymentGroup AlarmConfiguration property contains a list of Alarm property types.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const alarmProperty: codedeploy.CfnDeploymentGroup.AlarmProperty = {
  name: 'name',
};
Properties
| Name | Type | Description | 
|---|---|---|
| name? | string | The name of the alarm. | 
name?
Type:
string
(optional)
The name of the alarm.
Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms.
