module Stratosphere.ServiceCatalogAppRegistry.AttributeGroupAssociation ( AttributeGroupAssociation(..), mkAttributeGroupAssociation ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data AttributeGroupAssociation = -- | See: AttributeGroupAssociation {haddock_workaround_ :: (), -- | See: application :: (Value Prelude.Text), -- | See: attributeGroup :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkAttributeGroupAssociation :: Value Prelude.Text -> Value Prelude.Text -> AttributeGroupAssociation mkAttributeGroupAssociation application attributeGroup = AttributeGroupAssociation {haddock_workaround_ = (), application = application, attributeGroup = attributeGroup} instance ToResourceProperties AttributeGroupAssociation where toResourceProperties AttributeGroupAssociation {..} = ResourceProperties {awsType = "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation", supportsTags = Prelude.False, properties = ["Application" JSON..= application, "AttributeGroup" JSON..= attributeGroup]} instance JSON.ToJSON AttributeGroupAssociation where toJSON AttributeGroupAssociation {..} = JSON.object ["Application" JSON..= application, "AttributeGroup" JSON..= attributeGroup] instance Property "Application" AttributeGroupAssociation where type PropertyType "Application" AttributeGroupAssociation = Value Prelude.Text set newValue AttributeGroupAssociation {..} = AttributeGroupAssociation {application = newValue, ..} instance Property "AttributeGroup" AttributeGroupAssociation where type PropertyType "AttributeGroup" AttributeGroupAssociation = Value Prelude.Text set newValue AttributeGroupAssociation {..} = AttributeGroupAssociation {attributeGroup = newValue, ..}