ParameterGroup

class ParameterGroup : KotlinCustomResource

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

Properties

Link copied to clipboard
val arn: Output<String>

The AWS ARN associated with the parameter group.

Link copied to clipboard
val description: Output<String>

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

Link copied to clipboard
val family: Output<String>

The family of the ElastiCache parameter group.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the ElastiCache parameter.

Link copied to clipboard

A list of ElastiCache parameters to apply.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

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

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>