Interface CfnTopicRulePropsMixin.LocationActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRulePropsMixin.LocationActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRulePropsMixin
@Stability(Stable)
public static interface CfnTopicRulePropsMixin.LocationActionProperty
extends software.amazon.jsii.JsiiSerializable
Describes an action to send device location updates from an MQTT message to an Amazon Location tracker resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iot.*;
LocationActionProperty locationActionProperty = LocationActionProperty.builder()
.deviceId("deviceId")
.latitude("latitude")
.longitude("longitude")
.roleArn("roleArn")
.timestamp(TimestampProperty.builder()
.unit("unit")
.value("value")
.build())
.trackerName("trackerName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRulePropsMixin.LocationActionPropertystatic final classAn implementation forCfnTopicRulePropsMixin.LocationActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe unique ID of the device providing the location data.default StringA string that evaluates to a double value that represents the latitude of the device's location.default StringA string that evaluates to a double value that represents the longitude of the device's location.default StringThe IAM role that grants permission to write to the Amazon Location resource.default ObjectThe time that the location data was sampled.default StringThe name of the tracker resource in Amazon Location in which the location is updated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeviceId
The unique ID of the device providing the location data.- See Also:
-
getLatitude
A string that evaluates to a double value that represents the latitude of the device's location.- See Also:
-
getLongitude
A string that evaluates to a double value that represents the longitude of the device's location.- See Also:
-
getRoleArn
The IAM role that grants permission to write to the Amazon Location resource.- See Also:
-
getTimestamp
The time that the location data was sampled.The default value is the time the MQTT message was processed.
Returns union: either
IResolvableorCfnTopicRulePropsMixin.TimestampProperty- See Also:
-
getTrackerName
The name of the tracker resource in Amazon Location in which the location is updated.- See Also:
-
builder
-