module Stratosphere.ECS.Service.ServiceConnectServiceProperty (
        module Exports, ServiceConnectServiceProperty(..),
        mkServiceConnectServiceProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ECS.Service.ServiceConnectClientAliasProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.Service.ServiceConnectTlsConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.ECS.Service.TimeoutConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ServiceConnectServiceProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectservice.html>
    ServiceConnectServiceProperty {ServiceConnectServiceProperty -> ()
haddock_workaround_ :: (),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectservice.html#cfn-ecs-service-serviceconnectservice-clientaliases>
                                   ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
clientAliases :: (Prelude.Maybe [ServiceConnectClientAliasProperty]),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectservice.html#cfn-ecs-service-serviceconnectservice-discoveryname>
                                   ServiceConnectServiceProperty -> Maybe (Value Text)
discoveryName :: (Prelude.Maybe (Value Prelude.Text)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectservice.html#cfn-ecs-service-serviceconnectservice-ingressportoverride>
                                   ServiceConnectServiceProperty -> Maybe (Value Integer)
ingressPortOverride :: (Prelude.Maybe (Value Prelude.Integer)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectservice.html#cfn-ecs-service-serviceconnectservice-portname>
                                   ServiceConnectServiceProperty -> Value Text
portName :: (Value Prelude.Text),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectservice.html#cfn-ecs-service-serviceconnectservice-timeout>
                                   ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
timeout :: (Prelude.Maybe TimeoutConfigurationProperty),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectservice.html#cfn-ecs-service-serviceconnectservice-tls>
                                   ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
tls :: (Prelude.Maybe ServiceConnectTlsConfigurationProperty)}
  deriving stock (ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> Bool
(ServiceConnectServiceProperty
 -> ServiceConnectServiceProperty -> Bool)
-> (ServiceConnectServiceProperty
    -> ServiceConnectServiceProperty -> Bool)
-> Eq ServiceConnectServiceProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> Bool
== :: ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> Bool
$c/= :: ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> Bool
/= :: ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> Bool
Prelude.Eq, Int -> ServiceConnectServiceProperty -> ShowS
[ServiceConnectServiceProperty] -> ShowS
ServiceConnectServiceProperty -> String
(Int -> ServiceConnectServiceProperty -> ShowS)
-> (ServiceConnectServiceProperty -> String)
-> ([ServiceConnectServiceProperty] -> ShowS)
-> Show ServiceConnectServiceProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ServiceConnectServiceProperty -> ShowS
showsPrec :: Int -> ServiceConnectServiceProperty -> ShowS
$cshow :: ServiceConnectServiceProperty -> String
show :: ServiceConnectServiceProperty -> String
$cshowList :: [ServiceConnectServiceProperty] -> ShowS
showList :: [ServiceConnectServiceProperty] -> ShowS
Prelude.Show)
mkServiceConnectServiceProperty ::
  Value Prelude.Text -> ServiceConnectServiceProperty
mkServiceConnectServiceProperty :: Value Text -> ServiceConnectServiceProperty
mkServiceConnectServiceProperty Value Text
portName
  = ServiceConnectServiceProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), portName :: Value Text
portName = Value Text
portName,
       clientAliases :: Maybe [ServiceConnectClientAliasProperty]
clientAliases = Maybe [ServiceConnectClientAliasProperty]
forall a. Maybe a
Prelude.Nothing, discoveryName :: Maybe (Value Text)
discoveryName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       ingressPortOverride :: Maybe (Value Integer)
ingressPortOverride = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, timeout :: Maybe TimeoutConfigurationProperty
timeout = Maybe TimeoutConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       tls :: Maybe ServiceConnectTlsConfigurationProperty
tls = Maybe ServiceConnectTlsConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ServiceConnectServiceProperty where
  toResourceProperties :: ServiceConnectServiceProperty -> ResourceProperties
toResourceProperties ServiceConnectServiceProperty {Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceConnectServiceProperty -> ()
clientAliases :: ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
discoveryName :: ServiceConnectServiceProperty -> Maybe (Value Text)
ingressPortOverride :: ServiceConnectServiceProperty -> Maybe (Value Integer)
portName :: ServiceConnectServiceProperty -> Value Text
timeout :: ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
tls :: ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ECS::Service.ServiceConnectService",
         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
"PortName" 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
portName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> [ServiceConnectClientAliasProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ClientAliases" ([ServiceConnectClientAliasProperty] -> (Key, Value))
-> Maybe [ServiceConnectClientAliasProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ServiceConnectClientAliasProperty]
clientAliases,
                               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
"DiscoveryName" (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)
discoveryName,
                               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
"IngressPortOverride" (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)
ingressPortOverride,
                               Key -> TimeoutConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Timeout" (TimeoutConfigurationProperty -> (Key, Value))
-> Maybe TimeoutConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimeoutConfigurationProperty
timeout,
                               Key -> ServiceConnectTlsConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tls" (ServiceConnectTlsConfigurationProperty -> (Key, Value))
-> Maybe ServiceConnectTlsConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ServiceConnectTlsConfigurationProperty
tls]))}
instance JSON.ToJSON ServiceConnectServiceProperty where
  toJSON :: ServiceConnectServiceProperty -> Value
toJSON ServiceConnectServiceProperty {Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceConnectServiceProperty -> ()
clientAliases :: ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
discoveryName :: ServiceConnectServiceProperty -> Maybe (Value Text)
ingressPortOverride :: ServiceConnectServiceProperty -> Maybe (Value Integer)
portName :: ServiceConnectServiceProperty -> Value Text
timeout :: ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
tls :: ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
    = [(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
"PortName" 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
portName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> [ServiceConnectClientAliasProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ClientAliases" ([ServiceConnectClientAliasProperty] -> (Key, Value))
-> Maybe [ServiceConnectClientAliasProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ServiceConnectClientAliasProperty]
clientAliases,
                  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
"DiscoveryName" (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)
discoveryName,
                  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
"IngressPortOverride" (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)
ingressPortOverride,
                  Key -> TimeoutConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Timeout" (TimeoutConfigurationProperty -> (Key, Value))
-> Maybe TimeoutConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimeoutConfigurationProperty
timeout,
                  Key -> ServiceConnectTlsConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tls" (ServiceConnectTlsConfigurationProperty -> (Key, Value))
-> Maybe ServiceConnectTlsConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ServiceConnectTlsConfigurationProperty
tls])))
instance Property "ClientAliases" ServiceConnectServiceProperty where
  type PropertyType "ClientAliases" ServiceConnectServiceProperty = [ServiceConnectClientAliasProperty]
  set :: PropertyType "ClientAliases" ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> ServiceConnectServiceProperty
set PropertyType "ClientAliases" ServiceConnectServiceProperty
newValue ServiceConnectServiceProperty {Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceConnectServiceProperty -> ()
clientAliases :: ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
discoveryName :: ServiceConnectServiceProperty -> Maybe (Value Text)
ingressPortOverride :: ServiceConnectServiceProperty -> Maybe (Value Integer)
portName :: ServiceConnectServiceProperty -> Value Text
timeout :: ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
tls :: ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
    = ServiceConnectServiceProperty
        {clientAliases :: Maybe [ServiceConnectClientAliasProperty]
clientAliases = [ServiceConnectClientAliasProperty]
-> Maybe [ServiceConnectClientAliasProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ServiceConnectClientAliasProperty]
PropertyType "ClientAliases" ServiceConnectServiceProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
instance Property "DiscoveryName" ServiceConnectServiceProperty where
  type PropertyType "DiscoveryName" ServiceConnectServiceProperty = Value Prelude.Text
  set :: PropertyType "DiscoveryName" ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> ServiceConnectServiceProperty
set PropertyType "DiscoveryName" ServiceConnectServiceProperty
newValue ServiceConnectServiceProperty {Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceConnectServiceProperty -> ()
clientAliases :: ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
discoveryName :: ServiceConnectServiceProperty -> Maybe (Value Text)
ingressPortOverride :: ServiceConnectServiceProperty -> Maybe (Value Integer)
portName :: ServiceConnectServiceProperty -> Value Text
timeout :: ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
tls :: ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
    = ServiceConnectServiceProperty
        {discoveryName :: Maybe (Value Text)
discoveryName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DiscoveryName" ServiceConnectServiceProperty
Value Text
newValue, Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
instance Property "IngressPortOverride" ServiceConnectServiceProperty where
  type PropertyType "IngressPortOverride" ServiceConnectServiceProperty = Value Prelude.Integer
  set :: PropertyType "IngressPortOverride" ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> ServiceConnectServiceProperty
set PropertyType "IngressPortOverride" ServiceConnectServiceProperty
newValue ServiceConnectServiceProperty {Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceConnectServiceProperty -> ()
clientAliases :: ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
discoveryName :: ServiceConnectServiceProperty -> Maybe (Value Text)
ingressPortOverride :: ServiceConnectServiceProperty -> Maybe (Value Integer)
portName :: ServiceConnectServiceProperty -> Value Text
timeout :: ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
tls :: ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
    = ServiceConnectServiceProperty
        {ingressPortOverride :: Maybe (Value Integer)
ingressPortOverride = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IngressPortOverride" ServiceConnectServiceProperty
Value Integer
newValue, Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
instance Property "PortName" ServiceConnectServiceProperty where
  type PropertyType "PortName" ServiceConnectServiceProperty = Value Prelude.Text
  set :: PropertyType "PortName" ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> ServiceConnectServiceProperty
set PropertyType "PortName" ServiceConnectServiceProperty
newValue ServiceConnectServiceProperty {Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceConnectServiceProperty -> ()
clientAliases :: ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
discoveryName :: ServiceConnectServiceProperty -> Maybe (Value Text)
ingressPortOverride :: ServiceConnectServiceProperty -> Maybe (Value Integer)
portName :: ServiceConnectServiceProperty -> Value Text
timeout :: ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
tls :: ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
    = ServiceConnectServiceProperty {portName :: Value Text
portName = PropertyType "PortName" ServiceConnectServiceProperty
Value Text
newValue, Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
instance Property "Timeout" ServiceConnectServiceProperty where
  type PropertyType "Timeout" ServiceConnectServiceProperty = TimeoutConfigurationProperty
  set :: PropertyType "Timeout" ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> ServiceConnectServiceProperty
set PropertyType "Timeout" ServiceConnectServiceProperty
newValue ServiceConnectServiceProperty {Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceConnectServiceProperty -> ()
clientAliases :: ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
discoveryName :: ServiceConnectServiceProperty -> Maybe (Value Text)
ingressPortOverride :: ServiceConnectServiceProperty -> Maybe (Value Integer)
portName :: ServiceConnectServiceProperty -> Value Text
timeout :: ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
tls :: ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
    = ServiceConnectServiceProperty
        {timeout :: Maybe TimeoutConfigurationProperty
timeout = TimeoutConfigurationProperty -> Maybe TimeoutConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Timeout" ServiceConnectServiceProperty
TimeoutConfigurationProperty
newValue, Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
tls :: Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
instance Property "Tls" ServiceConnectServiceProperty where
  type PropertyType "Tls" ServiceConnectServiceProperty = ServiceConnectTlsConfigurationProperty
  set :: PropertyType "Tls" ServiceConnectServiceProperty
-> ServiceConnectServiceProperty -> ServiceConnectServiceProperty
set PropertyType "Tls" ServiceConnectServiceProperty
newValue ServiceConnectServiceProperty {Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ServiceConnectTlsConfigurationProperty
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceConnectServiceProperty -> ()
clientAliases :: ServiceConnectServiceProperty
-> Maybe [ServiceConnectClientAliasProperty]
discoveryName :: ServiceConnectServiceProperty -> Maybe (Value Text)
ingressPortOverride :: ServiceConnectServiceProperty -> Maybe (Value Integer)
portName :: ServiceConnectServiceProperty -> Value Text
timeout :: ServiceConnectServiceProperty -> Maybe TimeoutConfigurationProperty
tls :: ServiceConnectServiceProperty
-> Maybe ServiceConnectTlsConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
tls :: Maybe ServiceConnectTlsConfigurationProperty
..}
    = ServiceConnectServiceProperty {tls :: Maybe ServiceConnectTlsConfigurationProperty
tls = ServiceConnectTlsConfigurationProperty
-> Maybe ServiceConnectTlsConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Tls" ServiceConnectServiceProperty
ServiceConnectTlsConfigurationProperty
newValue, Maybe [ServiceConnectClientAliasProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe TimeoutConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
haddock_workaround_ :: ()
clientAliases :: Maybe [ServiceConnectClientAliasProperty]
discoveryName :: Maybe (Value Text)
ingressPortOverride :: Maybe (Value Integer)
portName :: Value Text
timeout :: Maybe TimeoutConfigurationProperty
..}