aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.AlarmProperty

interface AlarmProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.AlarmProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_AlarmProperty
Javasoftware.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.AlarmProperty
Pythonaws_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

NameTypeDescription
name?stringThe 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.