AWSIoTRepublishAction

Objective-C

@interface AWSIoTRepublishAction

Swift

class AWSIoTRepublishAction

Describes an action to republish to another topic.

Required parameters: [roleArn, topic]

  • MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTMqttHeaders *_Nullable headers;

    Swift

    var headers: AWSIoTMqttHeaders? { get set }
  • qos

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable qos;

    Swift

    var qos: NSNumber? { get set }
  • The ARN of the IAM role that grants access.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }
  • The name of the MQTT topic.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable topic;

    Swift

    var topic: String? { get set }