Class ParameterGroup
Provides an ElastiCache parameter group resource.
NOTE: Attempting to remove the
reserved-memoryparameter whenfamilyis set toredis2.6orredis2.8may 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
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var @default = new Aws.ElastiCache.ParameterGroup("default", new Aws.ElastiCache.ParameterGroupArgs
{
Family = "redis2.8",
Parameters =
{
new Aws.ElastiCache.Inputs.ParameterGroupParameterArgs
{
Name = "activerehashing",
Value = "yes",
},
new Aws.ElastiCache.Inputs.ParameterGroupParameterArgs
{
Name = "min-slaves-to-write",
Value = "2",
},
},
});
}
}
Inherited Members
Namespace: Pulumi.Aws.ElastiCache
Assembly: Pulumi.Aws.dll
Syntax
public class ParameterGroup : CustomResource
Constructors
View SourceParameterGroup(String, ParameterGroupArgs, CustomResourceOptions)
Create a ParameterGroup resource with the given unique name, arguments, and options.
Declaration
public ParameterGroup(string name, ParameterGroupArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ParameterGroupArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
The description of the ElastiCache parameter group. Defaults to "Managed by Pulumi".
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Family
The family of the ElastiCache parameter group.
Declaration
public Output<string> Family { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the ElastiCache parameter.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Parameters
A list of ElastiCache parameters to apply.
Declaration
public Output<ImmutableArray<ParameterGroupParameter>> Parameters { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ParameterGroupParameter>> |
Methods
View SourceGet(String, Input<String>, ParameterGroupState, CustomResourceOptions)
Get an existing ParameterGroup resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ParameterGroup Get(string name, Input<string> id, ParameterGroupState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ParameterGroupState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ParameterGroup |