stratosphere-connect-1.0.0: gen/Stratosphere/Connect/Rule/EventBridgeActionProperty.hs
module Stratosphere.Connect.Rule.EventBridgeActionProperty (
EventBridgeActionProperty(..), mkEventBridgeActionProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EventBridgeActionProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-eventbridgeaction.html>
EventBridgeActionProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-eventbridgeaction.html#cfn-connect-rule-eventbridgeaction-name>
name :: (Value Prelude.Text)}
deriving stock (Prelude.Eq, Prelude.Show)
mkEventBridgeActionProperty ::
Value Prelude.Text -> EventBridgeActionProperty
mkEventBridgeActionProperty name
= EventBridgeActionProperty {haddock_workaround_ = (), name = name}
instance ToResourceProperties EventBridgeActionProperty where
toResourceProperties EventBridgeActionProperty {..}
= ResourceProperties
{awsType = "AWS::Connect::Rule.EventBridgeAction",
supportsTags = Prelude.False, properties = ["Name" JSON..= name]}
instance JSON.ToJSON EventBridgeActionProperty where
toJSON EventBridgeActionProperty {..}
= JSON.object ["Name" JSON..= name]
instance Property "Name" EventBridgeActionProperty where
type PropertyType "Name" EventBridgeActionProperty = Value Prelude.Text
set newValue EventBridgeActionProperty {..}
= EventBridgeActionProperty {name = newValue, ..}