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

Description

 
Synopsis

Documentation

data TimeBasedLinear Source #

A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.

See: newTimeBasedLinear smart constructor.

Constructors

TimeBasedLinear' 

Fields

  • linearInterval :: Maybe Int

    The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.

  • linearPercentage :: Maybe Int

    The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear deployment.

Instances

Instances details
Eq TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

Read TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

Show TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

Generic TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

Associated Types

type Rep TimeBasedLinear :: Type -> Type #

NFData TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

Methods

rnf :: TimeBasedLinear -> () #

Hashable TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

ToJSON TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

FromJSON TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

type Rep TimeBasedLinear Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeBasedLinear

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

newTimeBasedLinear :: TimeBasedLinear Source #

Create a value of TimeBasedLinear 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:linearInterval:TimeBasedLinear', timeBasedLinear_linearInterval - The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.

$sel:linearPercentage:TimeBasedLinear', timeBasedLinear_linearPercentage - The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear deployment.

timeBasedLinear_linearInterval :: Lens' TimeBasedLinear (Maybe Int) Source #

The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.

timeBasedLinear_linearPercentage :: Lens' TimeBasedLinear (Maybe Int) Source #

The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear deployment.