interface AlarmProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeDeploy.Mixins.CfnDeploymentGroupPropsMixin.AlarmProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodedeploy/mixins#CfnDeploymentGroupPropsMixin_AlarmProperty |
Java | software.amazon.awscdk.mixins.preview.services.codedeploy.mixins.CfnDeploymentGroupPropsMixin.AlarmProperty |
Python | aws_cdk.mixins_preview.aws_codedeploy.mixins.CfnDeploymentGroupPropsMixin.AlarmProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codedeploy » mixins » CfnDeploymentGroupPropsMixin » 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 { mixins as codedeploy_mixins } from '@aws-cdk/mixins-preview/aws-codedeploy';
const alarmProperty: codedeploy_mixins.CfnDeploymentGroupPropsMixin.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.

.NET
Go
Java
Python
TypeScript