module Stratosphere.AppMesh.VirtualGateway.VirtualGatewayHealthCheckPolicyProperty (
VirtualGatewayHealthCheckPolicyProperty(..),
mkVirtualGatewayHealthCheckPolicyProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data VirtualGatewayHealthCheckPolicyProperty
=
VirtualGatewayHealthCheckPolicyProperty {VirtualGatewayHealthCheckPolicyProperty -> ()
haddock_workaround_ :: (),
VirtualGatewayHealthCheckPolicyProperty -> Value Integer
healthyThreshold :: (Value Prelude.Integer),
VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: (Value Prelude.Integer),
VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
path :: (Prelude.Maybe (Value Prelude.Text)),
VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
port :: (Prelude.Maybe (Value Prelude.Integer)),
VirtualGatewayHealthCheckPolicyProperty -> Value Text
protocol :: (Value Prelude.Text),
VirtualGatewayHealthCheckPolicyProperty -> Value Integer
timeoutMillis :: (Value Prelude.Integer),
VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: (Value Prelude.Integer)}
deriving stock (VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty -> Bool
(VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty -> Bool)
-> (VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty -> Bool)
-> Eq VirtualGatewayHealthCheckPolicyProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty -> Bool
== :: VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty -> Bool
$c/= :: VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty -> Bool
/= :: VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty -> Bool
Prelude.Eq, Int -> VirtualGatewayHealthCheckPolicyProperty -> ShowS
[VirtualGatewayHealthCheckPolicyProperty] -> ShowS
VirtualGatewayHealthCheckPolicyProperty -> String
(Int -> VirtualGatewayHealthCheckPolicyProperty -> ShowS)
-> (VirtualGatewayHealthCheckPolicyProperty -> String)
-> ([VirtualGatewayHealthCheckPolicyProperty] -> ShowS)
-> Show VirtualGatewayHealthCheckPolicyProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VirtualGatewayHealthCheckPolicyProperty -> ShowS
showsPrec :: Int -> VirtualGatewayHealthCheckPolicyProperty -> ShowS
$cshow :: VirtualGatewayHealthCheckPolicyProperty -> String
show :: VirtualGatewayHealthCheckPolicyProperty -> String
$cshowList :: [VirtualGatewayHealthCheckPolicyProperty] -> ShowS
showList :: [VirtualGatewayHealthCheckPolicyProperty] -> ShowS
Prelude.Show)
mkVirtualGatewayHealthCheckPolicyProperty ::
Value Prelude.Integer
-> Value Prelude.Integer
-> Value Prelude.Text
-> Value Prelude.Integer
-> Value Prelude.Integer -> VirtualGatewayHealthCheckPolicyProperty
mkVirtualGatewayHealthCheckPolicyProperty :: Value Integer
-> Value Integer
-> Value Text
-> Value Integer
-> Value Integer
-> VirtualGatewayHealthCheckPolicyProperty
mkVirtualGatewayHealthCheckPolicyProperty
Value Integer
healthyThreshold
Value Integer
intervalMillis
Value Text
protocol
Value Integer
timeoutMillis
Value Integer
unhealthyThreshold
= VirtualGatewayHealthCheckPolicyProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), healthyThreshold :: Value Integer
healthyThreshold = Value Integer
healthyThreshold,
intervalMillis :: Value Integer
intervalMillis = Value Integer
intervalMillis, protocol :: Value Text
protocol = Value Text
protocol,
timeoutMillis :: Value Integer
timeoutMillis = Value Integer
timeoutMillis,
unhealthyThreshold :: Value Integer
unhealthyThreshold = Value Integer
unhealthyThreshold, path :: Maybe (Value Text)
path = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
port :: Maybe (Value Integer)
port = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties VirtualGatewayHealthCheckPolicyProperty where
toResourceProperties :: VirtualGatewayHealthCheckPolicyProperty -> ResourceProperties
toResourceProperties VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"HealthyThreshold" 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..= Value Integer
healthyThreshold,
Key
"IntervalMillis" 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..= Value Integer
intervalMillis,
Key
"Protocol" 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..= Value Text
protocol, Key
"TimeoutMillis" 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..= Value Integer
timeoutMillis,
Key
"UnhealthyThreshold" 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..= Value Integer
unhealthyThreshold]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"Path" (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)
path,
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
"Port" (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)
port]))}
instance JSON.ToJSON VirtualGatewayHealthCheckPolicyProperty where
toJSON :: VirtualGatewayHealthCheckPolicyProperty -> Value
toJSON VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"HealthyThreshold" 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..= Value Integer
healthyThreshold,
Key
"IntervalMillis" 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..= Value Integer
intervalMillis,
Key
"Protocol" 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..= Value Text
protocol, Key
"TimeoutMillis" 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..= Value Integer
timeoutMillis,
Key
"UnhealthyThreshold" 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..= Value Integer
unhealthyThreshold]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"Path" (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)
path,
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
"Port" (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)
port])))
instance Property "HealthyThreshold" VirtualGatewayHealthCheckPolicyProperty where
type PropertyType "HealthyThreshold" VirtualGatewayHealthCheckPolicyProperty = Value Prelude.Integer
set :: PropertyType
"HealthyThreshold" VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
set PropertyType
"HealthyThreshold" VirtualGatewayHealthCheckPolicyProperty
newValue VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= VirtualGatewayHealthCheckPolicyProperty
{healthyThreshold :: Value Integer
healthyThreshold = PropertyType
"HealthyThreshold" VirtualGatewayHealthCheckPolicyProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
haddock_workaround_ :: ()
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
instance Property "IntervalMillis" VirtualGatewayHealthCheckPolicyProperty where
type PropertyType "IntervalMillis" VirtualGatewayHealthCheckPolicyProperty = Value Prelude.Integer
set :: PropertyType
"IntervalMillis" VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
set PropertyType
"IntervalMillis" VirtualGatewayHealthCheckPolicyProperty
newValue VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= VirtualGatewayHealthCheckPolicyProperty
{intervalMillis :: Value Integer
intervalMillis = PropertyType
"IntervalMillis" VirtualGatewayHealthCheckPolicyProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
instance Property "Path" VirtualGatewayHealthCheckPolicyProperty where
type PropertyType "Path" VirtualGatewayHealthCheckPolicyProperty = Value Prelude.Text
set :: PropertyType "Path" VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
set PropertyType "Path" VirtualGatewayHealthCheckPolicyProperty
newValue VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= VirtualGatewayHealthCheckPolicyProperty
{path :: Maybe (Value Text)
path = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Path" VirtualGatewayHealthCheckPolicyProperty
Value Text
newValue, Maybe (Value Integer)
()
Value Integer
Value Text
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
instance Property "Port" VirtualGatewayHealthCheckPolicyProperty where
type PropertyType "Port" VirtualGatewayHealthCheckPolicyProperty = Value Prelude.Integer
set :: PropertyType "Port" VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
set PropertyType "Port" VirtualGatewayHealthCheckPolicyProperty
newValue VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= VirtualGatewayHealthCheckPolicyProperty
{port :: Maybe (Value Integer)
port = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Port" VirtualGatewayHealthCheckPolicyProperty
Value Integer
newValue, Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
instance Property "Protocol" VirtualGatewayHealthCheckPolicyProperty where
type PropertyType "Protocol" VirtualGatewayHealthCheckPolicyProperty = Value Prelude.Text
set :: PropertyType "Protocol" VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
set PropertyType "Protocol" VirtualGatewayHealthCheckPolicyProperty
newValue VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= VirtualGatewayHealthCheckPolicyProperty {protocol :: Value Text
protocol = PropertyType "Protocol" VirtualGatewayHealthCheckPolicyProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
instance Property "TimeoutMillis" VirtualGatewayHealthCheckPolicyProperty where
type PropertyType "TimeoutMillis" VirtualGatewayHealthCheckPolicyProperty = Value Prelude.Integer
set :: PropertyType
"TimeoutMillis" VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
set PropertyType
"TimeoutMillis" VirtualGatewayHealthCheckPolicyProperty
newValue VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= VirtualGatewayHealthCheckPolicyProperty
{timeoutMillis :: Value Integer
timeoutMillis = PropertyType
"TimeoutMillis" VirtualGatewayHealthCheckPolicyProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
unhealthyThreshold :: Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
unhealthyThreshold :: Value Integer
..}
instance Property "UnhealthyThreshold" VirtualGatewayHealthCheckPolicyProperty where
type PropertyType "UnhealthyThreshold" VirtualGatewayHealthCheckPolicyProperty = Value Prelude.Integer
set :: PropertyType
"UnhealthyThreshold" VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
-> VirtualGatewayHealthCheckPolicyProperty
set PropertyType
"UnhealthyThreshold" VirtualGatewayHealthCheckPolicyProperty
newValue VirtualGatewayHealthCheckPolicyProperty {Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: VirtualGatewayHealthCheckPolicyProperty -> ()
healthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
intervalMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
path :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Text)
port :: VirtualGatewayHealthCheckPolicyProperty -> Maybe (Value Integer)
protocol :: VirtualGatewayHealthCheckPolicyProperty -> Value Text
timeoutMillis :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
unhealthyThreshold :: VirtualGatewayHealthCheckPolicyProperty -> Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
unhealthyThreshold :: Value Integer
..}
= VirtualGatewayHealthCheckPolicyProperty
{unhealthyThreshold :: Value Integer
unhealthyThreshold = PropertyType
"UnhealthyThreshold" VirtualGatewayHealthCheckPolicyProperty
Value Integer
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
haddock_workaround_ :: ()
healthyThreshold :: Value Integer
intervalMillis :: Value Integer
path :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Value Text
timeoutMillis :: Value Integer
..}