![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.elasticache.kotlin.ParameterGroup.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.elasticache.kotlin
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin
import com.pulumi.core.Output
import com.pulumi.kotlin.KotlinCustomResource
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.ResourceMapper
import com.pulumi.kotlin.options.CustomResourceOptions
import com.pulumi.kotlin.options.CustomResourceOptionsBuilder
import com.pulumi.resources.Resource
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
/**
* Builder for [ParameterGroup].
*/
@PulumiTagMarker
public class ParameterGroupResourceBuilder internal constructor() {
public var name: String? = null
public var args: ParameterGroupArgs = ParameterGroupArgs()
public var opts: CustomResourceOptions = CustomResourceOptions()
/**
* @param name The _unique_ name of the resulting resource.
*/
public fun name(`value`: String) {
this.name = value
}
/**
* @param block The arguments to use to populate this resource's properties.
*/
public suspend fun args(block: suspend ParameterGroupArgsBuilder.() -> Unit) {
val builder = ParameterGroupArgsBuilder()
block(builder)
this.args = builder.build()
}
/**
* @param block A bag of options that control this resource's behavior.
*/
public suspend fun opts(block: suspend CustomResourceOptionsBuilder.() -> Unit) {
this.opts = com.pulumi.kotlin.options.CustomResourceOptions.opts(block)
}
internal fun build(): ParameterGroup {
val builtJavaResource = com.pulumi.awsnative.elasticache.ParameterGroup(
this.name,
this.args.toJava(),
this.opts.toJava(),
)
return ParameterGroup(builtJavaResource)
}
}
/**
* Resource Type definition for AWS::ElastiCache::ParameterGroup
*/
public class ParameterGroup internal constructor(
override val javaResource: com.pulumi.awsnative.elasticache.ParameterGroup,
) : KotlinCustomResource(javaResource, ParameterGroupMapper) {
/**
* The name of the cache parameter group family that this cache parameter group is compatible with.
*/
public val cacheParameterGroupFamily: Output
get() = javaResource.cacheParameterGroupFamily().applyValue({ args0 -> args0 })
/**
* The name of the Cache Parameter Group.
*/
public val cacheParameterGroupName: Output
get() = javaResource.cacheParameterGroupName().applyValue({ args0 -> args0 })
/**
* The description for this cache parameter group.
*/
public val description: Output
get() = javaResource.description().applyValue({ args0 -> args0 })
/**
* A comma-delimited list of parameter name/value pairs. For more information see ModifyCacheParameterGroup in the Amazon ElastiCache API Reference Guide.
*/
public val properties: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy