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

com.pulumi.awsnative.iot.kotlin.outputs.GetProvisioningTemplateResult.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.iot.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property description The description of the fleet provisioning template.
 * @property enabled True to enable the fleet provisioning template, otherwise false.
 * @property preProvisioningHook Creates a pre-provisioning hook template.
 * @property provisioningRoleArn The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
 * @property tags Metadata that can be used to manage the fleet provisioning template.
 * @property templateArn The ARN that identifies the provisioning template.
 * @property templateBody The JSON formatted contents of the fleet provisioning template version.
 */
public data class GetProvisioningTemplateResult(
    public val description: String? = null,
    public val enabled: Boolean? = null,
    public val preProvisioningHook: ProvisioningTemplateProvisioningHook? = null,
    public val provisioningRoleArn: String? = null,
    public val tags: List? = null,
    public val templateArn: String? = null,
    public val templateBody: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.GetProvisioningTemplateResult): GetProvisioningTemplateResult = GetProvisioningTemplateResult(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            preProvisioningHook = javaType.preProvisioningHook().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iot.kotlin.outputs.ProvisioningTemplateProvisioningHook.Companion.toKotlin(args0)
                })
            }).orElse(null),
            provisioningRoleArn = javaType.provisioningRoleArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            templateArn = javaType.templateArn().map({ args0 -> args0 }).orElse(null),
            templateBody = javaType.templateBody().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy