You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SNSTopicPublishAction as input to an Aws::Client method, you can use a vanilla Hash:

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

Information required to publish the Amazon SNS message.

Returned by:

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:

  • (Types::Payload)

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

#target_arnString

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

Returns:

  • (String)

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