module Stratosphere.DataZone.Connection.AthenaPropertiesInputProperty ( AthenaPropertiesInputProperty(..), mkAthenaPropertiesInputProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data AthenaPropertiesInputProperty = -- | See: AthenaPropertiesInputProperty {haddock_workaround_ :: (), -- | See: workgroupName :: (Value Prelude.Text)} deriving stock (Prelude.Eq, Prelude.Show) mkAthenaPropertiesInputProperty :: Value Prelude.Text -> AthenaPropertiesInputProperty mkAthenaPropertiesInputProperty workgroupName = AthenaPropertiesInputProperty {haddock_workaround_ = (), workgroupName = workgroupName} instance ToResourceProperties AthenaPropertiesInputProperty where toResourceProperties AthenaPropertiesInputProperty {..} = ResourceProperties {awsType = "AWS::DataZone::Connection.AthenaPropertiesInput", supportsTags = Prelude.False, properties = ["WorkgroupName" JSON..= workgroupName]} instance JSON.ToJSON AthenaPropertiesInputProperty where toJSON AthenaPropertiesInputProperty {..} = JSON.object ["WorkgroupName" JSON..= workgroupName] instance Property "WorkgroupName" AthenaPropertiesInputProperty where type PropertyType "WorkgroupName" AthenaPropertiesInputProperty = Value Prelude.Text set newValue AthenaPropertiesInputProperty {..} = AthenaPropertiesInputProperty {workgroupName = newValue, ..}