amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

Description

 
Synopsis

Documentation

data BlueGreenUpdatePolicy Source #

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.

See: newBlueGreenUpdatePolicy smart constructor.

Constructors

BlueGreenUpdatePolicy' 

Fields

Instances

Instances details
FromJSON BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

ToJSON BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

Generic BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

Associated Types

type Rep BlueGreenUpdatePolicy :: Type -> Type #

Read BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

Show BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

NFData BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

Methods

rnf :: BlueGreenUpdatePolicy -> () #

Eq BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

Hashable BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

type Rep BlueGreenUpdatePolicy Source # 
Instance details

Defined in Amazonka.SageMaker.Types.BlueGreenUpdatePolicy

type Rep BlueGreenUpdatePolicy = D1 ('MetaData "BlueGreenUpdatePolicy" "Amazonka.SageMaker.Types.BlueGreenUpdatePolicy" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "BlueGreenUpdatePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maximumExecutionTimeoutInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "terminationWaitInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "trafficRoutingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrafficRoutingConfig))))

newBlueGreenUpdatePolicy Source #

Create a value of BlueGreenUpdatePolicy 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:maximumExecutionTimeoutInSeconds:BlueGreenUpdatePolicy', blueGreenUpdatePolicy_maximumExecutionTimeoutInSeconds - Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.

$sel:terminationWaitInSeconds:BlueGreenUpdatePolicy', blueGreenUpdatePolicy_terminationWaitInSeconds - Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.

$sel:trafficRoutingConfiguration:BlueGreenUpdatePolicy', blueGreenUpdatePolicy_trafficRoutingConfiguration - Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.

blueGreenUpdatePolicy_maximumExecutionTimeoutInSeconds :: Lens' BlueGreenUpdatePolicy (Maybe Natural) Source #

Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.

blueGreenUpdatePolicy_terminationWaitInSeconds :: Lens' BlueGreenUpdatePolicy (Maybe Natural) Source #

Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.

blueGreenUpdatePolicy_trafficRoutingConfiguration :: Lens' BlueGreenUpdatePolicy TrafficRoutingConfig Source #

Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.