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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass RepublishAction data as a hash:

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

Describes an action to republish to another topic.

Instance Attribute Summary collapse

Instance Attribute Details

#role_arnString

The ARN of the IAM role that grants access.

Returns:

  • (String)


5432
5433
5434
5435
5436
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5432

class RepublishAction < Struct.new(
  :role_arn,
  :topic)
  include Aws::Structure
end

#topicString

The name of the MQTT topic.

Returns:

  • (String)


5432
5433
5434
5435
5436
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5432

class RepublishAction < Struct.new(
  :role_arn,
  :topic)
  include Aws::Structure
end