ParameterGroupArgs

data class ParameterGroupArgs(val description: Output<String>? = null, val family: Output<String>? = null, val name: Output<String>? = null, val parameters: Output<List<ParameterGroupParameterArgs>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ParameterGroupArgs>

Provides an ElastiCache parameter group resource.

NOTE: Attempting to remove the reserved-memory parameter when family is set to redis2.6 or redis2.8 may show a perpetual difference in this provider due to an ElastiCache API limitation. Leave that parameter configured with any value to workaround the issue.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.elasticache.ParameterGroup;
import com.pulumi.aws.elasticache.ParameterGroupArgs;
import com.pulumi.aws.elasticache.inputs.ParameterGroupParameterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new ParameterGroup("default", ParameterGroupArgs.builder()
.family("redis2.8")
.parameters(
ParameterGroupParameterArgs.builder()
.name("activerehashing")
.value("yes")
.build(),
ParameterGroupParameterArgs.builder()
.name("min-slaves-to-write")
.value("2")
.build())
.build());
}
}

Import

ElastiCache Parameter Groups can be imported using the name, e.g.,

$ pulumi import aws:elasticache/parameterGroup:ParameterGroup default redis-params

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, family: Output<String>? = null, name: Output<String>? = null, parameters: Output<List<ParameterGroupParameterArgs>>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

The description of the ElastiCache parameter group. Defaults to "Managed by Pulumi".

Link copied to clipboard
val family: Output<String>? = null

The family of the ElastiCache parameter group.

Link copied to clipboard
val name: Output<String>? = null

The name of the ElastiCache parameter.

Link copied to clipboard

A list of ElastiCache parameters to apply.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level

Functions

Link copied to clipboard
open override fun toJava(): ParameterGroupArgs