class Aws::IoTEvents::Types::SNSTopicPublishAction

Information required to publish the Amazon SNS message.

@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
      },
    }

@!attribute [rw] target_arn

The ARN of the Amazon SNS target where the message is sent.
@return [String]

@!attribute [rw] payload

You can configure the action payload when you send a message as an
Amazon SNS push notification.
@return [Types::Payload]

Constants

SENSITIVE