module Stratosphere.ECS.Service.ServiceConnectTestTrafficRulesHeaderValueProperty (
        ServiceConnectTestTrafficRulesHeaderValueProperty(..),
        mkServiceConnectTestTrafficRulesHeaderValueProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ServiceConnectTestTrafficRulesHeaderValueProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttesttrafficrulesheadervalue.html>
    ServiceConnectTestTrafficRulesHeaderValueProperty {ServiceConnectTestTrafficRulesHeaderValueProperty -> ()
haddock_workaround_ :: (),
                                                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttesttrafficrulesheadervalue.html#cfn-ecs-service-serviceconnecttesttrafficrulesheadervalue-exact>
                                                       ServiceConnectTestTrafficRulesHeaderValueProperty -> Value Text
exact :: (Value Prelude.Text)}
  deriving stock (ServiceConnectTestTrafficRulesHeaderValueProperty
-> ServiceConnectTestTrafficRulesHeaderValueProperty -> Bool
(ServiceConnectTestTrafficRulesHeaderValueProperty
 -> ServiceConnectTestTrafficRulesHeaderValueProperty -> Bool)
-> (ServiceConnectTestTrafficRulesHeaderValueProperty
    -> ServiceConnectTestTrafficRulesHeaderValueProperty -> Bool)
-> Eq ServiceConnectTestTrafficRulesHeaderValueProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ServiceConnectTestTrafficRulesHeaderValueProperty
-> ServiceConnectTestTrafficRulesHeaderValueProperty -> Bool
== :: ServiceConnectTestTrafficRulesHeaderValueProperty
-> ServiceConnectTestTrafficRulesHeaderValueProperty -> Bool
$c/= :: ServiceConnectTestTrafficRulesHeaderValueProperty
-> ServiceConnectTestTrafficRulesHeaderValueProperty -> Bool
/= :: ServiceConnectTestTrafficRulesHeaderValueProperty
-> ServiceConnectTestTrafficRulesHeaderValueProperty -> Bool
Prelude.Eq, Int -> ServiceConnectTestTrafficRulesHeaderValueProperty -> ShowS
[ServiceConnectTestTrafficRulesHeaderValueProperty] -> ShowS
ServiceConnectTestTrafficRulesHeaderValueProperty -> String
(Int -> ServiceConnectTestTrafficRulesHeaderValueProperty -> ShowS)
-> (ServiceConnectTestTrafficRulesHeaderValueProperty -> String)
-> ([ServiceConnectTestTrafficRulesHeaderValueProperty] -> ShowS)
-> Show ServiceConnectTestTrafficRulesHeaderValueProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ServiceConnectTestTrafficRulesHeaderValueProperty -> ShowS
showsPrec :: Int -> ServiceConnectTestTrafficRulesHeaderValueProperty -> ShowS
$cshow :: ServiceConnectTestTrafficRulesHeaderValueProperty -> String
show :: ServiceConnectTestTrafficRulesHeaderValueProperty -> String
$cshowList :: [ServiceConnectTestTrafficRulesHeaderValueProperty] -> ShowS
showList :: [ServiceConnectTestTrafficRulesHeaderValueProperty] -> ShowS
Prelude.Show)
mkServiceConnectTestTrafficRulesHeaderValueProperty ::
  Value Prelude.Text
  -> ServiceConnectTestTrafficRulesHeaderValueProperty
mkServiceConnectTestTrafficRulesHeaderValueProperty :: Value Text -> ServiceConnectTestTrafficRulesHeaderValueProperty
mkServiceConnectTestTrafficRulesHeaderValueProperty Value Text
exact
  = ServiceConnectTestTrafficRulesHeaderValueProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), exact :: Value Text
exact = Value Text
exact}
instance ToResourceProperties ServiceConnectTestTrafficRulesHeaderValueProperty where
  toResourceProperties :: ServiceConnectTestTrafficRulesHeaderValueProperty
-> ResourceProperties
toResourceProperties
    ServiceConnectTestTrafficRulesHeaderValueProperty {()
Value Text
haddock_workaround_ :: ServiceConnectTestTrafficRulesHeaderValueProperty -> ()
exact :: ServiceConnectTestTrafficRulesHeaderValueProperty -> Value Text
haddock_workaround_ :: ()
exact :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ECS::Service.ServiceConnectTestTrafficRulesHeaderValue",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"Exact" 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
exact]}
instance JSON.ToJSON ServiceConnectTestTrafficRulesHeaderValueProperty where
  toJSON :: ServiceConnectTestTrafficRulesHeaderValueProperty -> Value
toJSON ServiceConnectTestTrafficRulesHeaderValueProperty {()
Value Text
haddock_workaround_ :: ServiceConnectTestTrafficRulesHeaderValueProperty -> ()
exact :: ServiceConnectTestTrafficRulesHeaderValueProperty -> Value Text
haddock_workaround_ :: ()
exact :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"Exact" 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
exact]
instance Property "Exact" ServiceConnectTestTrafficRulesHeaderValueProperty where
  type PropertyType "Exact" ServiceConnectTestTrafficRulesHeaderValueProperty = Value Prelude.Text
  set :: PropertyType
  "Exact" ServiceConnectTestTrafficRulesHeaderValueProperty
-> ServiceConnectTestTrafficRulesHeaderValueProperty
-> ServiceConnectTestTrafficRulesHeaderValueProperty
set PropertyType
  "Exact" ServiceConnectTestTrafficRulesHeaderValueProperty
newValue ServiceConnectTestTrafficRulesHeaderValueProperty {()
Value Text
haddock_workaround_ :: ServiceConnectTestTrafficRulesHeaderValueProperty -> ()
exact :: ServiceConnectTestTrafficRulesHeaderValueProperty -> Value Text
haddock_workaround_ :: ()
exact :: Value Text
..}
    = ServiceConnectTestTrafficRulesHeaderValueProperty
        {exact :: Value Text
exact = PropertyType
  "Exact" ServiceConnectTestTrafficRulesHeaderValueProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}