All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleLocationAction.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iot.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property deviceId The unique ID of the device providing the location data.
 * @property latitude A string that evaluates to a double value that represents the latitude of the device's location.
 * @property longitude A string that evaluates to a double value that represents the longitude of the device's location.
 * @property roleArn The IAM role that grants permission to write to the Amazon Location resource.
 * @property timestamp The time that the location data was sampled. The default value is the time the MQTT message was processed.
 * @property trackerName The name of the tracker resource in Amazon Location in which the location is updated.
 */
public data class TopicRuleLocationAction(
    public val deviceId: String,
    public val latitude: String,
    public val longitude: String,
    public val roleArn: String,
    public val timestamp: TopicRuleTimestamp? = null,
    public val trackerName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleLocationAction): TopicRuleLocationAction = TopicRuleLocationAction(
            deviceId = javaType.deviceId(),
            latitude = javaType.latitude(),
            longitude = javaType.longitude(),
            roleArn = javaType.roleArn(),
            timestamp = javaType.timestamp().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleTimestamp.Companion.toKotlin(args0)
                })
            }).orElse(null),
            trackerName = javaType.trackerName(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy