AWS::IoT::TopicRule LocationAction
Describes an action to send device location updates from an MQTT message to an Amazon Location tracker resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DeviceId" :
String
, "Latitude" :String
, "Longitude" :String
, "RoleArn" :String
, "Timestamp" :Timestamp
, "TrackerName" :String
}
YAML
DeviceId:
String
Latitude:String
Longitude:String
RoleArn:String
Timestamp:Timestamp
TrackerName:String
Properties
DeviceId
-
The unique ID of the device providing the location data.
Required: Yes
Type: String
Update requires: No interruption
Latitude
-
A string that evaluates to a double value that represents the latitude of the device's location.
Required: Yes
Type: String
Update requires: No interruption
Longitude
-
A string that evaluates to a double value that represents the longitude of the device's location.
Required: Yes
Type: String
Update requires: No interruption
RoleArn
-
The IAM role that grants permission to write to the Amazon Location resource.
Required: Yes
Type: String
Update requires: No interruption
Timestamp
-
The time that the location data was sampled. The default value is the time the MQTT message was processed.
Required: No
Type: Timestamp
Update requires: No interruption
TrackerName
-
The name of the tracker resource in Amazon Location in which the location is updated.
Required: Yes
Type: String
Update requires: No interruption