AWSIoTMetricsExportConfig

Objective-C

@interface AWSIoTMetricsExportConfig

Swift

class AWSIoTMetricsExportConfig

Set configurations for metrics export.

Required parameters: [mqttTopic, roleArn]

  • The MQTT topic that Device Defender Detect should publish messages to for metrics export.

    Declaration

    Objective-C

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

    Swift

    var mqttTopic: String? { get set }
  • This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and publish messages on your behalf.

    Declaration

    Objective-C

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

    Swift

    var roleArn: String? { get set }