stratosphere-events-1.0.0: gen/Stratosphere/Events/Endpoint/ReplicationConfigProperty.hs
module Stratosphere.Events.Endpoint.ReplicationConfigProperty (
ReplicationConfigProperty(..), mkReplicationConfigProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ReplicationConfigProperty
= -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html>
ReplicationConfigProperty {haddock_workaround_ :: (),
-- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html#cfn-events-endpoint-replicationconfig-state>
state :: (Value Prelude.Text)}
deriving stock (Prelude.Eq, Prelude.Show)
mkReplicationConfigProperty ::
Value Prelude.Text -> ReplicationConfigProperty
mkReplicationConfigProperty state
= ReplicationConfigProperty
{haddock_workaround_ = (), state = state}
instance ToResourceProperties ReplicationConfigProperty where
toResourceProperties ReplicationConfigProperty {..}
= ResourceProperties
{awsType = "AWS::Events::Endpoint.ReplicationConfig",
supportsTags = Prelude.False, properties = ["State" JSON..= state]}
instance JSON.ToJSON ReplicationConfigProperty where
toJSON ReplicationConfigProperty {..}
= JSON.object ["State" JSON..= state]
instance Property "State" ReplicationConfigProperty where
type PropertyType "State" ReplicationConfigProperty = Value Prelude.Text
set newValue ReplicationConfigProperty {..}
= ReplicationConfigProperty {state = newValue, ..}