# AlarmConfigurationProperty

The `AlarmConfiguration` property type configures CloudWatch alarms for an AWS CodeDeploy deployment group.

`AlarmConfiguration` is a property of the [DeploymentGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html) resource.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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 alarmConfigurationProperty: codedeploy.CfnDeploymentGroup.AlarmConfigurationProperty = {
  alarms: [{
    name: 'name',
  }],
  enabled: false,
  ignorePollAlarmFailure: false,
};
```

## Properties

- `alarms`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDeploymentGroup.AlarmProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.AlarmProperty.html)[] — A list of alarms configured for the deployment or deployment group.

  A maximum of 10 alarms can be added.

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether the alarm configuration is enabled.

- `ignorePollAlarmFailure`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch .

  The default value is `false` .

  - `true` : The deployment proceeds even if alarm status information can't be retrieved from CloudWatch .
  - `false` : The deployment stops if alarm status information can't be retrieved from CloudWatch .
