AWSIoTIotSiteWiseAction

Objective-C

@interface AWSIoTIotSiteWiseAction

Swift

class AWSIoTIotSiteWiseAction

Describes an action to send data from an MQTT message that triggered the rule to AWS IoT SiteWise asset properties.

Required parameters: [putAssetPropertyValueEntries, roleArn]

  • A list of asset property value entries.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTPutAssetPropertyValueEntry *> *_Nullable putAssetPropertyValueEntries;

    Swift

    var putAssetPropertyValueEntries: [AWSIoTPutAssetPropertyValueEntry]? { get set }
  • The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoTSiteWise. ("Action": "iotsitewise:BatchPutAssetPropertyValue"). The trust policy can restrict access to specific asset hierarchy paths.

    Declaration

    Objective-C

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

    Swift

    var roleArn: String? { get set }