libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

Description

 
Synopsis

Documentation

data AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source #

Determines whether a service deployment fails if a service cannot reach a steady state.

See: newAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails smart constructor.

Constructors

AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails' 

Fields

  • rollback :: Maybe Bool

    Whether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

  • enable :: Maybe Bool

    Whether to enable the deployment circuit breaker logic for the service.

Instances

Instances details
Eq AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

Read AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

Show AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

Generic AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

NFData AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

Hashable AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

ToJSON AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

FromJSON AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

type Rep AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails

type Rep AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails = D1 ('MetaData "AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails" "Amazonka.SecurityHub.Types.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rollback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "enable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails :: AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails Source #

Create a value of AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails 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:rollback:AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails', awsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails_rollback - Whether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

$sel:enable:AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails', awsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails_enable - Whether to enable the deployment circuit breaker logic for the service.

awsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails_rollback :: Lens' AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails (Maybe Bool) Source #

Whether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.