![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.memorydb.kotlin.SubnetGroupArgs.kt Maven / Gradle / Ivy
@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.SubnetGroupArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::MemoryDB::SubnetGroup resource creates an Amazon MemoryDB Subnet Group.
* @property description An optional description of the subnet group.
* @property subnetGroupName The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
* @property subnetIds A list of VPC subnet IDs for the subnet group.
* @property tags An array of key-value pairs to apply to this subnet group.
*/
public data class SubnetGroupArgs(
public val description: Output? = null,
public val subnetGroupName: Output? = null,
public val subnetIds: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.memorydb.SubnetGroupArgs =
com.pulumi.awsnative.memorydb.SubnetGroupArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.subnetGroupName(subnetGroupName?.applyValue({ args0 -> args0 }))
.subnetIds(subnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SubnetGroupArgs].
*/
@PulumiTagMarker
public class SubnetGroupArgsBuilder internal constructor() {
private var description: Output? = null
private var subnetGroupName: Output? = null
private var subnetIds: Output>? = null
private var tags: Output>? = null
/**
* @param value An optional description of the subnet group.
*/
@JvmName("ebylfxbgxmluwhua")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
*/
@JvmName("wqknmvvxcxxebuke")
public suspend fun subnetGroupName(`value`: Output) {
this.subnetGroupName = value
}
/**
* @param value A list of VPC subnet IDs for the subnet group.
*/
@JvmName("yagvpyibereegxhr")
public suspend fun subnetIds(`value`: Output>) {
this.subnetIds = value
}
@JvmName("krndgibnlosdtqtp")
public suspend fun subnetIds(vararg values: Output) {
this.subnetIds = Output.all(values.asList())
}
/**
* @param values A list of VPC subnet IDs for the subnet group.
*/
@JvmName("wwvhoaevntmugaia")
public suspend fun subnetIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy