content: module Stratosphere.Batch.JobDefinition.ImagePullSecretProperty (
          ImagePullSecretProperty(..), mkImagePullSecretProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import Stratosphere.ResourceProperties
  import Stratosphere.Value
  data ImagePullSecretProperty
    = ImagePullSecretProperty {name :: (Value Prelude.Text)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkImagePullSecretProperty ::
    Value Prelude.Text -> ImagePullSecretProperty
  mkImagePullSecretProperty name
    = ImagePullSecretProperty {name = name}
  instance ToResourceProperties ImagePullSecretProperty where
    toResourceProperties ImagePullSecretProperty {..}
      = ResourceProperties
          {awsType = "AWS::Batch::JobDefinition.ImagePullSecret",
           supportsTags = Prelude.False, properties = ["Name" JSON..= name]}
  instance JSON.ToJSON ImagePullSecretProperty where
    toJSON ImagePullSecretProperty {..}
      = JSON.object ["Name" JSON..= name]
  instance Property "Name" ImagePullSecretProperty where
    type PropertyType "Name" ImagePullSecretProperty = Value Prelude.Text
    set newValue ImagePullSecretProperty {}
      = ImagePullSecretProperty {name = newValue, ..}