libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeDeploy.Types.AlarmConfiguration

Description

 
Synopsis

Documentation

data AlarmConfiguration Source #

Information about alarms associated with the deployment group.

See: newAlarmConfiguration smart constructor.

Constructors

AlarmConfiguration' 

Fields

  • ignorePollAlarmFailure :: Maybe Bool

    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.
  • enabled :: Maybe Bool

    Indicates whether the alarm configuration is enabled.

  • alarms :: Maybe [Alarm]

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

Instances

Instances details
Eq AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

Read AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

Show AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

Generic AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

Associated Types

type Rep AlarmConfiguration :: Type -> Type #

NFData AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

Methods

rnf :: AlarmConfiguration -> () #

Hashable AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

ToJSON AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

FromJSON AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

type Rep AlarmConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AlarmConfiguration

type Rep AlarmConfiguration = D1 ('MetaData "AlarmConfiguration" "Amazonka.CodeDeploy.Types.AlarmConfiguration" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "AlarmConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ignorePollAlarmFailure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "alarms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Alarm])))))

newAlarmConfiguration :: AlarmConfiguration Source #

Create a value of AlarmConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ignorePollAlarmFailure:AlarmConfiguration', alarmConfiguration_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.

$sel:enabled:AlarmConfiguration', alarmConfiguration_enabled - Indicates whether the alarm configuration is enabled.

$sel:alarms:AlarmConfiguration', alarmConfiguration_alarms - A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.

alarmConfiguration_ignorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool) Source #

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.

alarmConfiguration_enabled :: Lens' AlarmConfiguration (Maybe Bool) Source #

Indicates whether the alarm configuration is enabled.

alarmConfiguration_alarms :: Lens' AlarmConfiguration (Maybe [Alarm]) Source #

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