Class: Aws::IoTEvents::Types::NotificationTargetActions

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 NotificationTargetActions data as a hash:

{
  lambda_action: {
    function_arn: "AmazonResourceName", # required
    payload: {
      content_expression: "ContentExpression", # required
      type: "STRING", # required, accepts STRING, JSON
    },
  },
}

Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda function provided by AWS IoT Events.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#lambda_actionTypes::LambdaAction

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

Returns:



4546
4547
4548
4549
4550
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 4546

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