module Stratosphere.ECS.Service.DeploymentConfigurationProperty (
        module Exports, DeploymentConfigurationProperty(..),
        mkDeploymentConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ECS.Service.CanaryConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.Service.DeploymentAlarmsProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.Service.DeploymentCircuitBreakerProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.Service.DeploymentLifecycleHookProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.Service.LinearConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DeploymentConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html>
    DeploymentConfigurationProperty {DeploymentConfigurationProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-alarms>
                                     DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
alarms :: (Prelude.Maybe DeploymentAlarmsProperty),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-baketimeinminutes>
                                     DeploymentConfigurationProperty -> Maybe (Value Integer)
bakeTimeInMinutes :: (Prelude.Maybe (Value Prelude.Integer)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-canaryconfiguration>
                                     DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
canaryConfiguration :: (Prelude.Maybe CanaryConfigurationProperty),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-deploymentcircuitbreaker>
                                     DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
deploymentCircuitBreaker :: (Prelude.Maybe DeploymentCircuitBreakerProperty),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-lifecyclehooks>
                                     DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
lifecycleHooks :: (Prelude.Maybe [DeploymentLifecycleHookProperty]),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-linearconfiguration>
                                     DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
linearConfiguration :: (Prelude.Maybe LinearConfigurationProperty),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-maximumpercent>
                                     DeploymentConfigurationProperty -> Maybe (Value Integer)
maximumPercent :: (Prelude.Maybe (Value Prelude.Integer)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-minimumhealthypercent>
                                     DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: (Prelude.Maybe (Value Prelude.Integer)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-strategy>
                                     DeploymentConfigurationProperty -> Maybe (Value Text)
strategy :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (DeploymentConfigurationProperty
-> DeploymentConfigurationProperty -> Bool
(DeploymentConfigurationProperty
 -> DeploymentConfigurationProperty -> Bool)
-> (DeploymentConfigurationProperty
    -> DeploymentConfigurationProperty -> Bool)
-> Eq DeploymentConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DeploymentConfigurationProperty
-> DeploymentConfigurationProperty -> Bool
== :: DeploymentConfigurationProperty
-> DeploymentConfigurationProperty -> Bool
$c/= :: DeploymentConfigurationProperty
-> DeploymentConfigurationProperty -> Bool
/= :: DeploymentConfigurationProperty
-> DeploymentConfigurationProperty -> Bool
Prelude.Eq, Int -> DeploymentConfigurationProperty -> ShowS
[DeploymentConfigurationProperty] -> ShowS
DeploymentConfigurationProperty -> String
(Int -> DeploymentConfigurationProperty -> ShowS)
-> (DeploymentConfigurationProperty -> String)
-> ([DeploymentConfigurationProperty] -> ShowS)
-> Show DeploymentConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DeploymentConfigurationProperty -> ShowS
showsPrec :: Int -> DeploymentConfigurationProperty -> ShowS
$cshow :: DeploymentConfigurationProperty -> String
show :: DeploymentConfigurationProperty -> String
$cshowList :: [DeploymentConfigurationProperty] -> ShowS
showList :: [DeploymentConfigurationProperty] -> ShowS
Prelude.Show)
mkDeploymentConfigurationProperty ::
  DeploymentConfigurationProperty
mkDeploymentConfigurationProperty :: DeploymentConfigurationProperty
mkDeploymentConfigurationProperty
  = DeploymentConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), alarms :: Maybe DeploymentAlarmsProperty
alarms = Maybe DeploymentAlarmsProperty
forall a. Maybe a
Prelude.Nothing,
       bakeTimeInMinutes :: Maybe (Value Integer)
bakeTimeInMinutes = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       canaryConfiguration :: Maybe CanaryConfigurationProperty
canaryConfiguration = Maybe CanaryConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
deploymentCircuitBreaker = Maybe DeploymentCircuitBreakerProperty
forall a. Maybe a
Prelude.Nothing,
       lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
lifecycleHooks = Maybe [DeploymentLifecycleHookProperty]
forall a. Maybe a
Prelude.Nothing,
       linearConfiguration :: Maybe LinearConfigurationProperty
linearConfiguration = Maybe LinearConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       maximumPercent :: Maybe (Value Integer)
maximumPercent = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       minimumHealthyPercent :: Maybe (Value Integer)
minimumHealthyPercent = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       strategy :: Maybe (Value Text)
strategy = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DeploymentConfigurationProperty where
  toResourceProperties :: DeploymentConfigurationProperty -> ResourceProperties
toResourceProperties DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ECS::Service.DeploymentConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> DeploymentAlarmsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Alarms" (DeploymentAlarmsProperty -> (Key, Value))
-> Maybe DeploymentAlarmsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DeploymentAlarmsProperty
alarms,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BakeTimeInMinutes" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
bakeTimeInMinutes,
                            Key -> CanaryConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CanaryConfiguration" (CanaryConfigurationProperty -> (Key, Value))
-> Maybe CanaryConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CanaryConfigurationProperty
canaryConfiguration,
                            Key -> DeploymentCircuitBreakerProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeploymentCircuitBreaker"
                              (DeploymentCircuitBreakerProperty -> (Key, Value))
-> Maybe DeploymentCircuitBreakerProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DeploymentCircuitBreakerProperty
deploymentCircuitBreaker,
                            Key -> [DeploymentLifecycleHookProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LifecycleHooks" ([DeploymentLifecycleHookProperty] -> (Key, Value))
-> Maybe [DeploymentLifecycleHookProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DeploymentLifecycleHookProperty]
lifecycleHooks,
                            Key -> LinearConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LinearConfiguration" (LinearConfigurationProperty -> (Key, Value))
-> Maybe LinearConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LinearConfigurationProperty
linearConfiguration,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaximumPercent" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maximumPercent,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MinimumHealthyPercent"
                              (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
minimumHealthyPercent,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Strategy" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
strategy])}
instance JSON.ToJSON DeploymentConfigurationProperty where
  toJSON :: DeploymentConfigurationProperty -> Value
toJSON DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> DeploymentAlarmsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Alarms" (DeploymentAlarmsProperty -> (Key, Value))
-> Maybe DeploymentAlarmsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DeploymentAlarmsProperty
alarms,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BakeTimeInMinutes" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
bakeTimeInMinutes,
               Key -> CanaryConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CanaryConfiguration" (CanaryConfigurationProperty -> (Key, Value))
-> Maybe CanaryConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CanaryConfigurationProperty
canaryConfiguration,
               Key -> DeploymentCircuitBreakerProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeploymentCircuitBreaker"
                 (DeploymentCircuitBreakerProperty -> (Key, Value))
-> Maybe DeploymentCircuitBreakerProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DeploymentCircuitBreakerProperty
deploymentCircuitBreaker,
               Key -> [DeploymentLifecycleHookProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LifecycleHooks" ([DeploymentLifecycleHookProperty] -> (Key, Value))
-> Maybe [DeploymentLifecycleHookProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DeploymentLifecycleHookProperty]
lifecycleHooks,
               Key -> LinearConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LinearConfiguration" (LinearConfigurationProperty -> (Key, Value))
-> Maybe LinearConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LinearConfigurationProperty
linearConfiguration,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaximumPercent" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maximumPercent,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MinimumHealthyPercent"
                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
minimumHealthyPercent,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Strategy" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
strategy]))
instance Property "Alarms" DeploymentConfigurationProperty where
  type PropertyType "Alarms" DeploymentConfigurationProperty = DeploymentAlarmsProperty
  set :: PropertyType "Alarms" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType "Alarms" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {alarms :: Maybe DeploymentAlarmsProperty
alarms = DeploymentAlarmsProperty -> Maybe DeploymentAlarmsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Alarms" DeploymentConfigurationProperty
DeploymentAlarmsProperty
newValue, Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: ()
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
haddock_workaround_ :: ()
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
instance Property "BakeTimeInMinutes" DeploymentConfigurationProperty where
  type PropertyType "BakeTimeInMinutes" DeploymentConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "BakeTimeInMinutes" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType "BakeTimeInMinutes" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {bakeTimeInMinutes :: Maybe (Value Integer)
bakeTimeInMinutes = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BakeTimeInMinutes" DeploymentConfigurationProperty
Value Integer
newValue, Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
instance Property "CanaryConfiguration" DeploymentConfigurationProperty where
  type PropertyType "CanaryConfiguration" DeploymentConfigurationProperty = CanaryConfigurationProperty
  set :: PropertyType "CanaryConfiguration" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType "CanaryConfiguration" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {canaryConfiguration :: Maybe CanaryConfigurationProperty
canaryConfiguration = CanaryConfigurationProperty -> Maybe CanaryConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CanaryConfiguration" DeploymentConfigurationProperty
CanaryConfigurationProperty
newValue, Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
instance Property "DeploymentCircuitBreaker" DeploymentConfigurationProperty where
  type PropertyType "DeploymentCircuitBreaker" DeploymentConfigurationProperty = DeploymentCircuitBreakerProperty
  set :: PropertyType
  "DeploymentCircuitBreaker" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType
  "DeploymentCircuitBreaker" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
deploymentCircuitBreaker = DeploymentCircuitBreakerProperty
-> Maybe DeploymentCircuitBreakerProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DeploymentCircuitBreaker" DeploymentConfigurationProperty
DeploymentCircuitBreakerProperty
newValue, Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
instance Property "LifecycleHooks" DeploymentConfigurationProperty where
  type PropertyType "LifecycleHooks" DeploymentConfigurationProperty = [DeploymentLifecycleHookProperty]
  set :: PropertyType "LifecycleHooks" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType "LifecycleHooks" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
lifecycleHooks = [DeploymentLifecycleHookProperty]
-> Maybe [DeploymentLifecycleHookProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DeploymentLifecycleHookProperty]
PropertyType "LifecycleHooks" DeploymentConfigurationProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
instance Property "LinearConfiguration" DeploymentConfigurationProperty where
  type PropertyType "LinearConfiguration" DeploymentConfigurationProperty = LinearConfigurationProperty
  set :: PropertyType "LinearConfiguration" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType "LinearConfiguration" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {linearConfiguration :: Maybe LinearConfigurationProperty
linearConfiguration = LinearConfigurationProperty -> Maybe LinearConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LinearConfiguration" DeploymentConfigurationProperty
LinearConfigurationProperty
newValue, Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
()
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
instance Property "MaximumPercent" DeploymentConfigurationProperty where
  type PropertyType "MaximumPercent" DeploymentConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "MaximumPercent" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType "MaximumPercent" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {maximumPercent :: Maybe (Value Integer)
maximumPercent = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MaximumPercent" DeploymentConfigurationProperty
Value Integer
newValue, Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
instance Property "MinimumHealthyPercent" DeploymentConfigurationProperty where
  type PropertyType "MinimumHealthyPercent" DeploymentConfigurationProperty = Value Prelude.Integer
  set :: PropertyType
  "MinimumHealthyPercent" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType
  "MinimumHealthyPercent" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {minimumHealthyPercent :: Maybe (Value Integer)
minimumHealthyPercent = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "MinimumHealthyPercent" DeploymentConfigurationProperty
Value Integer
newValue, Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
instance Property "Strategy" DeploymentConfigurationProperty where
  type PropertyType "Strategy" DeploymentConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Strategy" DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
-> DeploymentConfigurationProperty
set PropertyType "Strategy" DeploymentConfigurationProperty
newValue DeploymentConfigurationProperty {Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: DeploymentConfigurationProperty -> ()
alarms :: DeploymentConfigurationProperty -> Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: DeploymentConfigurationProperty -> Maybe (Value Integer)
canaryConfiguration :: DeploymentConfigurationProperty
-> Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: DeploymentConfigurationProperty
-> Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: DeploymentConfigurationProperty
-> Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: DeploymentConfigurationProperty
-> Maybe LinearConfigurationProperty
maximumPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
minimumHealthyPercent :: DeploymentConfigurationProperty -> Maybe (Value Integer)
strategy :: DeploymentConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
strategy :: Maybe (Value Text)
..}
    = DeploymentConfigurationProperty
        {strategy :: Maybe (Value Text)
strategy = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Strategy" DeploymentConfigurationProperty
Value Text
newValue, Maybe [DeploymentLifecycleHookProperty]
Maybe (Value Integer)
Maybe CanaryConfigurationProperty
Maybe DeploymentAlarmsProperty
Maybe DeploymentCircuitBreakerProperty
Maybe LinearConfigurationProperty
()
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
haddock_workaround_ :: ()
alarms :: Maybe DeploymentAlarmsProperty
bakeTimeInMinutes :: Maybe (Value Integer)
canaryConfiguration :: Maybe CanaryConfigurationProperty
deploymentCircuitBreaker :: Maybe DeploymentCircuitBreakerProperty
lifecycleHooks :: Maybe [DeploymentLifecycleHookProperty]
linearConfiguration :: Maybe LinearConfigurationProperty
maximumPercent :: Maybe (Value Integer)
minimumHealthyPercent :: Maybe (Value Integer)
..}