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

Description

 
Synopsis

Documentation

data DeploymentReadyOption Source #

Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.

See: newDeploymentReadyOption smart constructor.

Constructors

DeploymentReadyOption' 

Fields

  • actionOnTimeout :: Maybe DeploymentReadyAction

    Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.

    • CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.
    • STOP_DEPLOYMENT: Do not register new instances with a load balancer unless traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started before the end of the specified wait period, the deployment status is changed to Stopped.
  • waitTimeInMinutes :: Maybe Int

    The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout.

Instances

Instances details
Eq DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

Read DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

Show DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

Generic DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

Associated Types

type Rep DeploymentReadyOption :: Type -> Type #

NFData DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

Methods

rnf :: DeploymentReadyOption -> () #

Hashable DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

ToJSON DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

FromJSON DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

type Rep DeploymentReadyOption Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentReadyOption

type Rep DeploymentReadyOption = D1 ('MetaData "DeploymentReadyOption" "Amazonka.CodeDeploy.Types.DeploymentReadyOption" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "DeploymentReadyOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionOnTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentReadyAction)) :*: S1 ('MetaSel ('Just "waitTimeInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newDeploymentReadyOption :: DeploymentReadyOption Source #

Create a value of DeploymentReadyOption 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:actionOnTimeout:DeploymentReadyOption', deploymentReadyOption_actionOnTimeout - Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.

  • CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.
  • STOP_DEPLOYMENT: Do not register new instances with a load balancer unless traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started before the end of the specified wait period, the deployment status is changed to Stopped.

$sel:waitTimeInMinutes:DeploymentReadyOption', deploymentReadyOption_waitTimeInMinutes - The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout.

deploymentReadyOption_actionOnTimeout :: Lens' DeploymentReadyOption (Maybe DeploymentReadyAction) Source #

Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.

  • CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.
  • STOP_DEPLOYMENT: Do not register new instances with a load balancer unless traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started before the end of the specified wait period, the deployment status is changed to Stopped.

deploymentReadyOption_waitTimeInMinutes :: Lens' DeploymentReadyOption (Maybe Int) Source #

The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout.