module Stratosphere.CodeDeploy.DeploymentConfig.MinimumHealthyHostsProperty ( MinimumHealthyHostsProperty(..), mkMinimumHealthyHostsProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data MinimumHealthyHostsProperty = -- | See: MinimumHealthyHostsProperty {haddock_workaround_ :: (), -- | See: type' :: (Value Prelude.Text), -- | See: value :: (Value Prelude.Integer)} deriving stock (Prelude.Eq, Prelude.Show) mkMinimumHealthyHostsProperty :: Value Prelude.Text -> Value Prelude.Integer -> MinimumHealthyHostsProperty mkMinimumHealthyHostsProperty type' value = MinimumHealthyHostsProperty {haddock_workaround_ = (), type' = type', value = value} instance ToResourceProperties MinimumHealthyHostsProperty where toResourceProperties MinimumHealthyHostsProperty {..} = ResourceProperties {awsType = "AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts", supportsTags = Prelude.False, properties = ["Type" JSON..= type', "Value" JSON..= value]} instance JSON.ToJSON MinimumHealthyHostsProperty where toJSON MinimumHealthyHostsProperty {..} = JSON.object ["Type" JSON..= type', "Value" JSON..= value] instance Property "Type" MinimumHealthyHostsProperty where type PropertyType "Type" MinimumHealthyHostsProperty = Value Prelude.Text set newValue MinimumHealthyHostsProperty {..} = MinimumHealthyHostsProperty {type' = newValue, ..} instance Property "Value" MinimumHealthyHostsProperty where type PropertyType "Value" MinimumHealthyHostsProperty = Value Prelude.Integer set newValue MinimumHealthyHostsProperty {..} = MinimumHealthyHostsProperty {value = newValue, ..}