AWS CloudFormation
User Guide (Version )

AWS::CodeDeploy::DeploymentGroup AlarmConfiguration

The AlarmConfiguration property type configuresCloudWatch alarms for an AWS CodeDeploy deployment group. AlarmConfiguration is a property of the DeploymentGroup resource.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Alarms" : [ Alarm, ... ], "Enabled" : Boolean, "IgnorePollAlarmFailure" : Boolean }

YAML

Alarms: - Alarm Enabled: Boolean IgnorePollAlarmFailure: Boolean

Properties

Alarms

A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.

Required: No

Type: List of Alarm

Update requires: No interruption

Enabled

Indicates whether the alarm configuration is enabled.

Required: No

Type: Boolean

Update requires: No interruption

IgnorePollAlarmFailure

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 Amazon CloudWatch.

  • false: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.

Required: No

Type: Boolean

Update requires: No interruption

On this page: