module Stratosphere.VpcLattice.TargetGroup.TargetGroupConfigProperty (
        module Exports, TargetGroupConfigProperty(..),
        mkTargetGroupConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.VpcLattice.TargetGroup.HealthCheckConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TargetGroupConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html>
    TargetGroupConfigProperty {TargetGroupConfigProperty -> ()
haddock_workaround_ :: (),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-healthcheck>
                               TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
healthCheck :: (Prelude.Maybe HealthCheckConfigProperty),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-ipaddresstype>
                               TargetGroupConfigProperty -> Maybe (Value Text)
ipAddressType :: (Prelude.Maybe (Value Prelude.Text)),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-lambdaeventstructureversion>
                               TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: (Prelude.Maybe (Value Prelude.Text)),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-port>
                               TargetGroupConfigProperty -> Maybe (Value Integer)
port :: (Prelude.Maybe (Value Prelude.Integer)),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-protocol>
                               TargetGroupConfigProperty -> Maybe (Value Text)
protocol :: (Prelude.Maybe (Value Prelude.Text)),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-protocolversion>
                               TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: (Prelude.Maybe (Value Prelude.Text)),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-vpcidentifier>
                               TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (TargetGroupConfigProperty -> TargetGroupConfigProperty -> Bool
(TargetGroupConfigProperty -> TargetGroupConfigProperty -> Bool)
-> (TargetGroupConfigProperty -> TargetGroupConfigProperty -> Bool)
-> Eq TargetGroupConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TargetGroupConfigProperty -> TargetGroupConfigProperty -> Bool
== :: TargetGroupConfigProperty -> TargetGroupConfigProperty -> Bool
$c/= :: TargetGroupConfigProperty -> TargetGroupConfigProperty -> Bool
/= :: TargetGroupConfigProperty -> TargetGroupConfigProperty -> Bool
Prelude.Eq, Int -> TargetGroupConfigProperty -> ShowS
[TargetGroupConfigProperty] -> ShowS
TargetGroupConfigProperty -> String
(Int -> TargetGroupConfigProperty -> ShowS)
-> (TargetGroupConfigProperty -> String)
-> ([TargetGroupConfigProperty] -> ShowS)
-> Show TargetGroupConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TargetGroupConfigProperty -> ShowS
showsPrec :: Int -> TargetGroupConfigProperty -> ShowS
$cshow :: TargetGroupConfigProperty -> String
show :: TargetGroupConfigProperty -> String
$cshowList :: [TargetGroupConfigProperty] -> ShowS
showList :: [TargetGroupConfigProperty] -> ShowS
Prelude.Show)
mkTargetGroupConfigProperty :: TargetGroupConfigProperty
mkTargetGroupConfigProperty :: TargetGroupConfigProperty
mkTargetGroupConfigProperty
  = TargetGroupConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), healthCheck :: Maybe HealthCheckConfigProperty
healthCheck = Maybe HealthCheckConfigProperty
forall a. Maybe a
Prelude.Nothing,
       ipAddressType :: Maybe (Value Text)
ipAddressType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       lambdaEventStructureVersion :: Maybe (Value Text)
lambdaEventStructureVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       port :: Maybe (Value Integer)
port = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, protocol :: Maybe (Value Text)
protocol = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       protocolVersion :: Maybe (Value Text)
protocolVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, vpcIdentifier :: Maybe (Value Text)
vpcIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TargetGroupConfigProperty where
  toResourceProperties :: TargetGroupConfigProperty -> ResourceProperties
toResourceProperties TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::VpcLattice::TargetGroup.TargetGroupConfig",
         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 -> HealthCheckConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HealthCheck" (HealthCheckConfigProperty -> (Key, Value))
-> Maybe HealthCheckConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe HealthCheckConfigProperty
healthCheck,
                            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
"IpAddressType" (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)
ipAddressType,
                            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
"LambdaEventStructureVersion"
                              (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)
lambdaEventStructureVersion,
                            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,
                            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
"Protocol" (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)
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..=) Key
"ProtocolVersion" (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)
protocolVersion,
                            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
"VpcIdentifier" (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)
vpcIdentifier])}
instance JSON.ToJSON TargetGroupConfigProperty where
  toJSON :: TargetGroupConfigProperty -> Value
toJSON TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: 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 -> HealthCheckConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HealthCheck" (HealthCheckConfigProperty -> (Key, Value))
-> Maybe HealthCheckConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe HealthCheckConfigProperty
healthCheck,
               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
"IpAddressType" (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)
ipAddressType,
               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
"LambdaEventStructureVersion"
                 (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)
lambdaEventStructureVersion,
               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,
               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
"Protocol" (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)
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..=) Key
"ProtocolVersion" (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)
protocolVersion,
               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
"VpcIdentifier" (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)
vpcIdentifier]))
instance Property "HealthCheck" TargetGroupConfigProperty where
  type PropertyType "HealthCheck" TargetGroupConfigProperty = HealthCheckConfigProperty
  set :: PropertyType "HealthCheck" TargetGroupConfigProperty
-> TargetGroupConfigProperty -> TargetGroupConfigProperty
set PropertyType "HealthCheck" TargetGroupConfigProperty
newValue TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
    = TargetGroupConfigProperty
        {healthCheck :: Maybe HealthCheckConfigProperty
healthCheck = HealthCheckConfigProperty -> Maybe HealthCheckConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "HealthCheck" TargetGroupConfigProperty
HealthCheckConfigProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
haddock_workaround_ :: ()
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
instance Property "IpAddressType" TargetGroupConfigProperty where
  type PropertyType "IpAddressType" TargetGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "IpAddressType" TargetGroupConfigProperty
-> TargetGroupConfigProperty -> TargetGroupConfigProperty
set PropertyType "IpAddressType" TargetGroupConfigProperty
newValue TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
    = TargetGroupConfigProperty
        {ipAddressType :: Maybe (Value Text)
ipAddressType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IpAddressType" TargetGroupConfigProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
instance Property "LambdaEventStructureVersion" TargetGroupConfigProperty where
  type PropertyType "LambdaEventStructureVersion" TargetGroupConfigProperty = Value Prelude.Text
  set :: PropertyType
  "LambdaEventStructureVersion" TargetGroupConfigProperty
-> TargetGroupConfigProperty -> TargetGroupConfigProperty
set PropertyType
  "LambdaEventStructureVersion" TargetGroupConfigProperty
newValue TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
    = TargetGroupConfigProperty
        {lambdaEventStructureVersion :: Maybe (Value Text)
lambdaEventStructureVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "LambdaEventStructureVersion" TargetGroupConfigProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
instance Property "Port" TargetGroupConfigProperty where
  type PropertyType "Port" TargetGroupConfigProperty = Value Prelude.Integer
  set :: PropertyType "Port" TargetGroupConfigProperty
-> TargetGroupConfigProperty -> TargetGroupConfigProperty
set PropertyType "Port" TargetGroupConfigProperty
newValue TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
    = TargetGroupConfigProperty {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" TargetGroupConfigProperty
Value Integer
newValue, Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
instance Property "Protocol" TargetGroupConfigProperty where
  type PropertyType "Protocol" TargetGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "Protocol" TargetGroupConfigProperty
-> TargetGroupConfigProperty -> TargetGroupConfigProperty
set PropertyType "Protocol" TargetGroupConfigProperty
newValue TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
    = TargetGroupConfigProperty {protocol :: Maybe (Value Text)
protocol = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Protocol" TargetGroupConfigProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
instance Property "ProtocolVersion" TargetGroupConfigProperty where
  type PropertyType "ProtocolVersion" TargetGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "ProtocolVersion" TargetGroupConfigProperty
-> TargetGroupConfigProperty -> TargetGroupConfigProperty
set PropertyType "ProtocolVersion" TargetGroupConfigProperty
newValue TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
    = TargetGroupConfigProperty
        {protocolVersion :: Maybe (Value Text)
protocolVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProtocolVersion" TargetGroupConfigProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
instance Property "VpcIdentifier" TargetGroupConfigProperty where
  type PropertyType "VpcIdentifier" TargetGroupConfigProperty = Value Prelude.Text
  set :: PropertyType "VpcIdentifier" TargetGroupConfigProperty
-> TargetGroupConfigProperty -> TargetGroupConfigProperty
set PropertyType "VpcIdentifier" TargetGroupConfigProperty
newValue TargetGroupConfigProperty {Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: TargetGroupConfigProperty -> ()
healthCheck :: TargetGroupConfigProperty -> Maybe HealthCheckConfigProperty
ipAddressType :: TargetGroupConfigProperty -> Maybe (Value Text)
lambdaEventStructureVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
port :: TargetGroupConfigProperty -> Maybe (Value Integer)
protocol :: TargetGroupConfigProperty -> Maybe (Value Text)
protocolVersion :: TargetGroupConfigProperty -> Maybe (Value Text)
vpcIdentifier :: TargetGroupConfigProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
vpcIdentifier :: Maybe (Value Text)
..}
    = TargetGroupConfigProperty
        {vpcIdentifier :: Maybe (Value Text)
vpcIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VpcIdentifier" TargetGroupConfigProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe HealthCheckConfigProperty
()
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
healthCheck :: Maybe HealthCheckConfigProperty
ipAddressType :: Maybe (Value Text)
lambdaEventStructureVersion :: Maybe (Value Text)
port :: Maybe (Value Integer)
protocol :: Maybe (Value Text)
protocolVersion :: Maybe (Value Text)
..}