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
- Struct
- Aws::IoTEvents::Types::SNSTopicPublishAction
- 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
-
#payload ⇒ Types::Payload
You can configure the action payload when you send a message as an Amazon SNS push notification.
-
#target_arn ⇒ String
The ARN of the Amazon SNS target where the message is sent.
Instance Attribute Details
#payload ⇒ Types::Payload
You can configure the action payload when you send a message as an Amazon SNS push notification.
#target_arn ⇒ String
The ARN of the Amazon SNS target where the message is sent.