Class: Aws::IoTEvents::Types::AlarmNotification

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb

Overview

Note:

When making an API call, you may pass AlarmNotification data as a hash:

{
  notification_actions: [
    {
      action: { # required
        lambda_action: {
          function_arn: "AmazonResourceName", # required
          payload: {
            content_expression: "ContentExpression", # required
            type: "STRING", # required, accepts STRING, JSON
          },
        },
      },
      sms_configurations: [
        {
          sender_id: "SMSSenderId",
          additional_message: "NotificationAdditionalMessage",
          recipients: [ # required
            {
              sso_identity: {
                identity_store_id: "IdentityStoreId", # required
                user_id: "SSOReferenceId",
              },
            },
          ],
        },
      ],
      email_configurations: [
        {
          from: "FromEmail", # required
          content: {
            subject: "EmailSubject",
            additional_message: "NotificationAdditionalMessage",
          },
          recipients: { # required
            to: [
              {
                sso_identity: {
                  identity_store_id: "IdentityStoreId", # required
                  user_id: "SSOReferenceId",
                },
              },
            ],
          },
        },
      ],
    },
  ],
}

Contains information about one or more notification actions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#notification_actionsArray<Types::NotificationAction>

Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.

Returns:



825
826
827
828
829
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 825

class AlarmNotification < Struct.new(
  :notification_actions)
  SENSITIVE = []
  include Aws::Structure
end