Interface CfnTopicRule.LocationActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTopicRule.LocationActionProperty.Jsii$Proxy
Enclosing class:
CfnTopicRule

@Stability(Stable) public static interface CfnTopicRule.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.services.iot.*;
 LocationActionProperty locationActionProperty = LocationActionProperty.builder()
         .deviceId("deviceId")
         .latitude("latitude")
         .longitude("longitude")
         .roleArn("roleArn")
         .trackerName("trackerName")
         // the properties below are optional
         .timestamp(TimestampProperty.builder()
                 .value("value")
                 // the properties below are optional
                 .unit("unit")
                 .build())
         .build();
 

See Also: