com.pulumi.awsnative.msk.kotlin.ConfigurationArgs.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.msk.kotlin
import com.pulumi.awsnative.msk.ConfigurationArgs.builder
import com.pulumi.awsnative.msk.kotlin.inputs.ConfigurationLatestRevisionArgs
import com.pulumi.awsnative.msk.kotlin.inputs.ConfigurationLatestRevisionArgsBuilder
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
/**
* Resource Type definition for AWS::MSK::Configuration
* @property description The description of the configuration.
* @property kafkaVersionsList
* @property latestRevision Latest revision of the configuration.
* @property name The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
* @property serverProperties Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the CLI, the contents of server.properties can be in plaintext.
*/
public data class ConfigurationArgs(
public val description: Output? = null,
public val kafkaVersionsList: Output>? = null,
public val latestRevision: Output? = null,
public val name: Output? = null,
public val serverProperties: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.msk.ConfigurationArgs =
com.pulumi.awsnative.msk.ConfigurationArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.kafkaVersionsList(kafkaVersionsList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.latestRevision(latestRevision?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.serverProperties(serverProperties?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConfigurationArgs].
*/
@PulumiTagMarker
public class ConfigurationArgsBuilder internal constructor() {
private var description: Output? = null
private var kafkaVersionsList: Output>? = null
private var latestRevision: Output? = null
private var name: Output? = null
private var serverProperties: Output? = null
/**
* @param value The description of the configuration.
*/
@JvmName("wotudngpbbptaxcj")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value
*/
@JvmName("iijxkjkmtukiuphi")
public suspend fun kafkaVersionsList(`value`: Output>) {
this.kafkaVersionsList = value
}
@JvmName("ujxqunachauxxhwa")
public suspend fun kafkaVersionsList(vararg values: Output) {
this.kafkaVersionsList = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("hisyunkxtsmutond")
public suspend fun kafkaVersionsList(values: List