![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.elasticache.kotlin.SubnetGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.elasticache.kotlin
import com.pulumi.awsnative.elasticache.SubnetGroupArgs.builder
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
/**
* Resource Type definition for AWS::ElastiCache::SubnetGroup
* @property cacheSubnetGroupName The name for the cache subnet group. This value is stored as a lowercase string.
* @property description The description for the cache subnet group.
* @property subnetIds The EC2 subnet IDs for the cache subnet group.
* @property tags A tag that can be added to an ElastiCache subnet group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your subnet groups. A tag with a null Value is permitted.
*/
public data class SubnetGroupArgs(
public val cacheSubnetGroupName: Output? = null,
public val description: Output? = null,
public val subnetIds: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.elasticache.SubnetGroupArgs =
com.pulumi.awsnative.elasticache.SubnetGroupArgs.builder()
.cacheSubnetGroupName(cacheSubnetGroupName?.applyValue({ args0 -> args0 }))
.description(description?.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 cacheSubnetGroupName: Output? = null
private var description: Output? = null
private var subnetIds: Output>? = null
private var tags: Output>? = null
/**
* @param value The name for the cache subnet group. This value is stored as a lowercase string.
*/
@JvmName("ekkonesmehllubct")
public suspend fun cacheSubnetGroupName(`value`: Output) {
this.cacheSubnetGroupName = value
}
/**
* @param value The description for the cache subnet group.
*/
@JvmName("nrykchabdwcwugms")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The EC2 subnet IDs for the cache subnet group.
*/
@JvmName("agtfacmbbnohnnnv")
public suspend fun subnetIds(`value`: Output>) {
this.subnetIds = value
}
@JvmName("dgicovwmuaccdlsh")
public suspend fun subnetIds(vararg values: Output) {
this.subnetIds = Output.all(values.asList())
}
/**
* @param values The EC2 subnet IDs for the cache subnet group.
*/
@JvmName("wbeltxygciabslov")
public suspend fun subnetIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy