com.pulumi.awsnative.redshift.kotlin.ClusterParameterGroupArgs.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.redshift.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.redshift.ClusterParameterGroupArgs.builder
import com.pulumi.awsnative.redshift.kotlin.inputs.ClusterParameterGroupParameterArgs
import com.pulumi.awsnative.redshift.kotlin.inputs.ClusterParameterGroupParameterArgsBuilder
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::Redshift::ClusterParameterGroup
* @property description A description of the parameter group.
* @property parameterGroupFamily The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
* @property parameterGroupName The name of the cluster parameter group.
* @property parameters An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class ClusterParameterGroupArgs(
public val description: Output? = null,
public val parameterGroupFamily: Output? = null,
public val parameterGroupName: Output? = null,
public val parameters: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.redshift.ClusterParameterGroupArgs =
com.pulumi.awsnative.redshift.ClusterParameterGroupArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.parameterGroupFamily(parameterGroupFamily?.applyValue({ args0 -> args0 }))
.parameterGroupName(parameterGroupName?.applyValue({ args0 -> args0 }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ClusterParameterGroupArgs].
*/
@PulumiTagMarker
public class ClusterParameterGroupArgsBuilder internal constructor() {
private var description: Output? = null
private var parameterGroupFamily: Output? = null
private var parameterGroupName: Output? = null
private var parameters: Output>? = null
private var tags: Output>? = null
/**
* @param value A description of the parameter group.
*/
@JvmName("tihtsqgcjngseofa")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
*/
@JvmName("nqmvmyutcakgswse")
public suspend fun parameterGroupFamily(`value`: Output) {
this.parameterGroupFamily = value
}
/**
* @param value The name of the cluster parameter group.
*/
@JvmName("hxkmqupdxrwerdpu")
public suspend fun parameterGroupName(`value`: Output) {
this.parameterGroupName = value
}
/**
* @param value An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
*/
@JvmName("ixcsddwlscmfnxys")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("yfycrwlrwxevgxop")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
*/
@JvmName("qrdwtxhoqtpdysuw")
public suspend fun parameters(values: List