module Stratosphere.BedrockAgentCore.Runtime.ContainerConfigurationProperty (
        ContainerConfigurationProperty(..),
        mkContainerConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ContainerConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-containerconfiguration.html>
    ContainerConfigurationProperty {ContainerConfigurationProperty -> ()
haddock_workaround_ :: (),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-containerconfiguration.html#cfn-bedrockagentcore-runtime-containerconfiguration-containeruri>
                                    ContainerConfigurationProperty -> Value Text
containerUri :: (Value Prelude.Text)}
  deriving stock (ContainerConfigurationProperty
-> ContainerConfigurationProperty -> Bool
(ContainerConfigurationProperty
 -> ContainerConfigurationProperty -> Bool)
-> (ContainerConfigurationProperty
    -> ContainerConfigurationProperty -> Bool)
-> Eq ContainerConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ContainerConfigurationProperty
-> ContainerConfigurationProperty -> Bool
== :: ContainerConfigurationProperty
-> ContainerConfigurationProperty -> Bool
$c/= :: ContainerConfigurationProperty
-> ContainerConfigurationProperty -> Bool
/= :: ContainerConfigurationProperty
-> ContainerConfigurationProperty -> Bool
Prelude.Eq, Int -> ContainerConfigurationProperty -> ShowS
[ContainerConfigurationProperty] -> ShowS
ContainerConfigurationProperty -> String
(Int -> ContainerConfigurationProperty -> ShowS)
-> (ContainerConfigurationProperty -> String)
-> ([ContainerConfigurationProperty] -> ShowS)
-> Show ContainerConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ContainerConfigurationProperty -> ShowS
showsPrec :: Int -> ContainerConfigurationProperty -> ShowS
$cshow :: ContainerConfigurationProperty -> String
show :: ContainerConfigurationProperty -> String
$cshowList :: [ContainerConfigurationProperty] -> ShowS
showList :: [ContainerConfigurationProperty] -> ShowS
Prelude.Show)
mkContainerConfigurationProperty ::
  Value Prelude.Text -> ContainerConfigurationProperty
mkContainerConfigurationProperty :: Value Text -> ContainerConfigurationProperty
mkContainerConfigurationProperty Value Text
containerUri
  = ContainerConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), containerUri :: Value Text
containerUri = Value Text
containerUri}
instance ToResourceProperties ContainerConfigurationProperty where
  toResourceProperties :: ContainerConfigurationProperty -> ResourceProperties
toResourceProperties ContainerConfigurationProperty {()
Value Text
haddock_workaround_ :: ContainerConfigurationProperty -> ()
containerUri :: ContainerConfigurationProperty -> Value Text
haddock_workaround_ :: ()
containerUri :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::BedrockAgentCore::Runtime.ContainerConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"ContainerUri" 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
containerUri]}
instance JSON.ToJSON ContainerConfigurationProperty where
  toJSON :: ContainerConfigurationProperty -> Value
toJSON ContainerConfigurationProperty {()
Value Text
haddock_workaround_ :: ContainerConfigurationProperty -> ()
containerUri :: ContainerConfigurationProperty -> Value Text
haddock_workaround_ :: ()
containerUri :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"ContainerUri" 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
containerUri]
instance Property "ContainerUri" ContainerConfigurationProperty where
  type PropertyType "ContainerUri" ContainerConfigurationProperty = Value Prelude.Text
  set :: PropertyType "ContainerUri" ContainerConfigurationProperty
-> ContainerConfigurationProperty -> ContainerConfigurationProperty
set PropertyType "ContainerUri" ContainerConfigurationProperty
newValue ContainerConfigurationProperty {()
Value Text
haddock_workaround_ :: ContainerConfigurationProperty -> ()
containerUri :: ContainerConfigurationProperty -> Value Text
haddock_workaround_ :: ()
containerUri :: Value Text
..}
    = ContainerConfigurationProperty {containerUri :: Value Text
containerUri = PropertyType "ContainerUri" ContainerConfigurationProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}