AWSIoTSnsAction Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSIoTModel.h
AWSIoTModel.m

Overview

Describes an action to publish to an Amazon SNS topic.

Required parameters: [targetArn, roleArn]

  messageFormat

The message format of the message to publish. Optional. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see refer to their official documentation.

@property (nonatomic, assign) AWSIoTMessageFormat messageFormat

Declared In

AWSIoTModel.h

  roleArn

The ARN of the IAM role that grants access.

@property (nonatomic, strong) NSString *roleArn

Declared In

AWSIoTModel.h

  targetArn

The ARN of the SNS topic.

@property (nonatomic, strong) NSString *targetArn

Declared In

AWSIoTModel.h