module Stratosphere.EC2.SpotFleet.GroupIdentifierProperty ( GroupIdentifierProperty(..), mkGroupIdentifierProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data GroupIdentifierProperty = -- | See: GroupIdentifierProperty {haddock_workaround_ :: (), -- | See: groupId :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkGroupIdentifierProperty :: Value Prelude.Text -> GroupIdentifierProperty mkGroupIdentifierProperty groupId = GroupIdentifierProperty {haddock_workaround_ = (), groupId = groupId} instance ToResourceProperties GroupIdentifierProperty where toResourceProperties GroupIdentifierProperty {..} = ResourceProperties {awsType = "AWS::EC2::SpotFleet.GroupIdentifier", supportsTags = Prelude.False, properties = ["GroupId" JSON..= groupId]} instance JSON.ToJSON GroupIdentifierProperty where toJSON GroupIdentifierProperty {..} = JSON.object ["GroupId" JSON..= groupId] instance Property "GroupId" GroupIdentifierProperty where type PropertyType "GroupId" GroupIdentifierProperty = Value Prelude.Text set newValue GroupIdentifierProperty {..} = GroupIdentifierProperty {groupId = newValue, ..}