com.pulumi.awsnative.iotsitewise.kotlin.outputs.GatewayPlatform.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotsitewise.kotlin.outputs
import kotlin.Suppress
/**
* Contains a gateway's platform information.
* @property greengrass A gateway that runs on AWS IoT Greengrass V1.
* @property greengrassV2 A gateway that runs on AWS IoT Greengrass V2.
* @property siemensIe A gateway that runs on Siemens Industrial Edge.
*/
public data class GatewayPlatform(
public val greengrass: GatewayGreengrass? = null,
public val greengrassV2: GatewayGreengrassV2? = null,
public val siemensIe: GatewaySiemensIe? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.GatewayPlatform): GatewayPlatform = GatewayPlatform(
greengrass = javaType.greengrass().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.GatewayGreengrass.Companion.toKotlin(args0)
})
}).orElse(null),
greengrassV2 = javaType.greengrassV2().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.GatewayGreengrassV2.Companion.toKotlin(args0)
})
}).orElse(null),
siemensIe = javaType.siemensIe().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.GatewaySiemensIe.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}