com.pulumi.awsnative.memorydb.kotlin.ParameterGroupArgs.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.memorydb.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.memorydb.ParameterGroupArgs.builder
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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::MemoryDB::ParameterGroup resource creates an Amazon MemoryDB ParameterGroup.
* @property description A description of the parameter group.
* @property family The name of the parameter group family that this parameter group is compatible with.
* @property parameterGroupName The name of the parameter group.
* @property parameters An map of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MemoryDB::ParameterGroup` for more information about the expected schema for this property.
* @property tags An array of key-value pairs to apply to this parameter group.
*/
public data class ParameterGroupArgs(
public val description: Output? = null,
public val family: Output? = null,
public val parameterGroupName: Output? = null,
public val parameters: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.memorydb.ParameterGroupArgs =
com.pulumi.awsnative.memorydb.ParameterGroupArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.family(family?.applyValue({ args0 -> args0 }))
.parameterGroupName(parameterGroupName?.applyValue({ args0 -> args0 }))
.parameters(parameters?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ParameterGroupArgs].
*/
@PulumiTagMarker
public class ParameterGroupArgsBuilder internal constructor() {
private var description: Output? = null
private var family: 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("toafdmffwsqwoadr")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the parameter group family that this parameter group is compatible with.
*/
@JvmName("teortwektnlyfohc")
public suspend fun family(`value`: Output) {
this.family = value
}
/**
* @param value The name of the parameter group.
*/
@JvmName("dbjaoksijifmmmji")
public suspend fun parameterGroupName(`value`: Output) {
this.parameterGroupName = value
}
/**
* @param value An map of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MemoryDB::ParameterGroup` for more information about the expected schema for this property.
*/
@JvmName("uqkxwkaogrhismpg")
public suspend fun parameters(`value`: Output) {
this.parameters = value
}
/**
* @param value An array of key-value pairs to apply to this parameter group.
*/
@JvmName("yykvahdhlvynkdsa")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("oofvaihvlpdsokwl")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this parameter group.
*/
@JvmName("odldycimevktqhau")
public suspend fun tags(values: List