![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.ProvisioningTemplateArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin
import com.pulumi.awsnative.iot.ProvisioningTemplateArgs.builder
import com.pulumi.awsnative.iot.kotlin.enums.ProvisioningTemplateTemplateType
import com.pulumi.awsnative.iot.kotlin.inputs.ProvisioningTemplateProvisioningHookArgs
import com.pulumi.awsnative.iot.kotlin.inputs.ProvisioningTemplateProvisioningHookArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Creates a fleet provisioning template.
* @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 templateBody The JSON formatted contents of the fleet provisioning template version.
* @property templateName The name of the fleet provisioning template.
* @property templateType The type of the provisioning template.
*/
public data class ProvisioningTemplateArgs(
public val description: Output? = null,
public val enabled: Output? = null,
public val preProvisioningHook: Output? = null,
public val provisioningRoleArn: Output? = null,
public val tags: Output>? = null,
public val templateBody: Output? = null,
public val templateName: Output? = null,
public val templateType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.ProvisioningTemplateArgs =
com.pulumi.awsnative.iot.ProvisioningTemplateArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.preProvisioningHook(
preProvisioningHook?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.provisioningRoleArn(provisioningRoleArn?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.templateBody(templateBody?.applyValue({ args0 -> args0 }))
.templateName(templateName?.applyValue({ args0 -> args0 }))
.templateType(templateType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ProvisioningTemplateArgs].
*/
@PulumiTagMarker
public class ProvisioningTemplateArgsBuilder internal constructor() {
private var description: Output? = null
private var enabled: Output? = null
private var preProvisioningHook: Output? = null
private var provisioningRoleArn: Output? = null
private var tags: Output>? = null
private var templateBody: Output? = null
private var templateName: Output? = null
private var templateType: Output? = null
/**
* @param value The description of the fleet provisioning template.
*/
@JvmName("mcmuhrasxjpxurmn")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value True to enable the fleet provisioning template, otherwise false.
*/
@JvmName("lcfmumaodfemjmph")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Creates a pre-provisioning hook template.
*/
@JvmName("mqswkvlsqkahdslv")
public suspend fun preProvisioningHook(`value`: Output) {
this.preProvisioningHook = value
}
/**
* @param value The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
*/
@JvmName("xrppikgqpfbhgilp")
public suspend fun provisioningRoleArn(`value`: Output) {
this.provisioningRoleArn = value
}
/**
* @param value Metadata that can be used to manage the fleet provisioning template.
*/
@JvmName("hqafvfvopbivmmxx")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("hvswwqnlbuctpjdp")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Metadata that can be used to manage the fleet provisioning template.
*/
@JvmName("aidtqtfkmxtxxpnr")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy