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.AutoRollbackConfiguration

Description

 
Synopsis

Documentation

data AutoRollbackConfiguration Source #

Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully.

See: newAutoRollbackConfiguration smart constructor.

Constructors

AutoRollbackConfiguration' 

Fields

Instances

Instances details
Eq AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

Read AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

Show AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

Generic AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

Associated Types

type Rep AutoRollbackConfiguration :: Type -> Type #

NFData AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

Hashable AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

ToJSON AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

FromJSON AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

type Rep AutoRollbackConfiguration Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.AutoRollbackConfiguration

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

newAutoRollbackConfiguration :: AutoRollbackConfiguration Source #

Create a value of AutoRollbackConfiguration 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:enabled:AutoRollbackConfiguration', autoRollbackConfiguration_enabled - Indicates whether a defined automatic rollback configuration is currently enabled.

$sel:events:AutoRollbackConfiguration', autoRollbackConfiguration_events - The event type or types that trigger a rollback.

autoRollbackConfiguration_enabled :: Lens' AutoRollbackConfiguration (Maybe Bool) Source #

Indicates whether a defined automatic rollback configuration is currently enabled.

autoRollbackConfiguration_events :: Lens' AutoRollbackConfiguration (Maybe [AutoRollbackEvent]) Source #

The event type or types that trigger a rollback.