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

Description

 
Synopsis

Documentation

data TimeBasedCanary Source #

A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

See: newTimeBasedCanary smart constructor.

Constructors

TimeBasedCanary' 

Fields

  • canaryInterval :: Maybe Int

    The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.

  • canaryPercentage :: Maybe Int

    The percentage of traffic to shift in the first increment of a TimeBasedCanary deployment.

Instances

Instances details
Eq TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

Read TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

Show TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

Generic TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

Associated Types

type Rep TimeBasedCanary :: Type -> Type #

NFData TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

Methods

rnf :: TimeBasedCanary -> () #

Hashable TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

ToJSON TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

FromJSON TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

type Rep TimeBasedCanary Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedCanary

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

newTimeBasedCanary :: TimeBasedCanary Source #

Create a value of TimeBasedCanary 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:canaryInterval:TimeBasedCanary', timeBasedCanary_canaryInterval - The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.

$sel:canaryPercentage:TimeBasedCanary', timeBasedCanary_canaryPercentage - The percentage of traffic to shift in the first increment of a TimeBasedCanary deployment.

timeBasedCanary_canaryInterval :: Lens' TimeBasedCanary (Maybe Int) Source #

The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.

timeBasedCanary_canaryPercentage :: Lens' TimeBasedCanary (Maybe Int) Source #

The percentage of traffic to shift in the first increment of a TimeBasedCanary deployment.