
com.pulumi.awsnative.iot.kotlin.CertificateProviderArgs.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.iot.kotlin
import com.pulumi.awsnative.iot.CertificateProviderArgs.builder
import com.pulumi.awsnative.iot.kotlin.enums.CertificateProviderOperation
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Use the AWS::IoT::CertificateProvider resource to declare an AWS IoT Certificate Provider.
* @property accountDefaultForOperations A list of the operations that the certificate provider will use to generate certificates. Valid value: `CreateCertificateFromCsr` .
* @property certificateProviderName The name of the certificate provider.
* @property lambdaFunctionArn The ARN of the Lambda function.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class CertificateProviderArgs(
public val accountDefaultForOperations: Output>? = null,
public val certificateProviderName: Output? = null,
public val lambdaFunctionArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.CertificateProviderArgs =
com.pulumi.awsnative.iot.CertificateProviderArgs.builder()
.accountDefaultForOperations(
accountDefaultForOperations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.certificateProviderName(certificateProviderName?.applyValue({ args0 -> args0 }))
.lambdaFunctionArn(lambdaFunctionArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CertificateProviderArgs].
*/
@PulumiTagMarker
public class CertificateProviderArgsBuilder internal constructor() {
private var accountDefaultForOperations: Output>? = null
private var certificateProviderName: Output? = null
private var lambdaFunctionArn: Output? = null
private var tags: Output>? = null
/**
* @param value A list of the operations that the certificate provider will use to generate certificates. Valid value: `CreateCertificateFromCsr` .
*/
@JvmName("bbkjlfjjxdgghjpg")
public suspend fun accountDefaultForOperations(`value`: Output>) {
this.accountDefaultForOperations = value
}
@JvmName("uhmbkdiqaleovhfb")
public suspend fun accountDefaultForOperations(vararg values: Output) {
this.accountDefaultForOperations = Output.all(values.asList())
}
/**
* @param values A list of the operations that the certificate provider will use to generate certificates. Valid value: `CreateCertificateFromCsr` .
*/
@JvmName("ibcuomakoynemfbn")
public suspend fun accountDefaultForOperations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy