module Stratosphere.WAFv2.WebACL.DataProtectionConfigProperty ( module Exports, DataProtectionConfigProperty(..), mkDataProtectionConfigProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.WAFv2.WebACL.DataProtectProperty as Exports import Stratosphere.ResourceProperties data DataProtectionConfigProperty = -- | See: DataProtectionConfigProperty {haddock_workaround_ :: (), -- | See: dataProtections :: [DataProtectProperty]} deriving stock (Prelude.Eq, Prelude.Show) mkDataProtectionConfigProperty :: [DataProtectProperty] -> DataProtectionConfigProperty mkDataProtectionConfigProperty dataProtections = DataProtectionConfigProperty {haddock_workaround_ = (), dataProtections = dataProtections} instance ToResourceProperties DataProtectionConfigProperty where toResourceProperties DataProtectionConfigProperty {..} = ResourceProperties {awsType = "AWS::WAFv2::WebACL.DataProtectionConfig", supportsTags = Prelude.False, properties = ["DataProtections" JSON..= dataProtections]} instance JSON.ToJSON DataProtectionConfigProperty where toJSON DataProtectionConfigProperty {..} = JSON.object ["DataProtections" JSON..= dataProtections] instance Property "DataProtections" DataProtectionConfigProperty where type PropertyType "DataProtections" DataProtectionConfigProperty = [DataProtectProperty] set newValue DataProtectionConfigProperty {..} = DataProtectionConfigProperty {dataProtections = newValue, ..}