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

com.pulumi.awsnative.iotsitewise.kotlin.outputs.GatewayPlatform.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: 1.11.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy