Class: Aws::IoTEvents::Types::SNSTopicPublishAction

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

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

Information required to publish the Amazon SNS message.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#payloadTypes::Payload

You can configure the action payload when you send a message as an Amazon SNS push notification.

Returns:



3362
3363
3364
3365
3366
3367
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 3362

class SNSTopicPublishAction < Struct.new(
  :target_arn,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end

#target_arnString

The ARN of the Amazon SNS target where the message is sent.

Returns:

  • (String)


3362
3363
3364
3365
3366
3367
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 3362

class SNSTopicPublishAction < Struct.new(
  :target_arn,
  :payload)
  SENSITIVE = []
  include Aws::Structure
end