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

Class: Aws::IoT::Types::RepublishAction

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

Overview

Note:

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

{
  role_arn: "AwsArn", # required
  topic: "TopicPattern", # required
  qos: 1,
}

Describes an action to republish to another topic.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#qosInteger

The Quality of Service (QoS) level to use when republishing messages. The default value is 0.

Returns:

  • (Integer)

    The Quality of Service (QoS) level to use when republishing messages.

#role_arnString

The ARN of the IAM role that grants access.

Returns:

  • (String)

    The ARN of the IAM role that grants access.

#topicString

The name of the MQTT topic.

Returns:

  • (String)

    The name of the MQTT topic.