ClusterParameterGroup

class ClusterParameterGroup : KotlinCustomResource

Provides an RDS DB cluster parameter group resource. Documentation of the available parameters for various Aurora engines can be found at:

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const _default = new aws.rds.ClusterParameterGroup("default", {
name: "rds-cluster-pg",
family: "aurora5.6",
description: "RDS default cluster parameter group",
parameters: [
{
name: "character_set_server",
value: "utf8",
},
{
name: "character_set_client",
value: "utf8",
},
],
});
import pulumi
import pulumi_aws as aws
default = aws.rds.ClusterParameterGroup("default",
name="rds-cluster-pg",
family="aurora5.6",
description="RDS default cluster parameter group",
parameters=[
{
"name": "character_set_server",
"value": "utf8",
},
{
"name": "character_set_client",
"value": "utf8",
},
])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var @default = new Aws.Rds.ClusterParameterGroup("default", new()
{
Name = "rds-cluster-pg",
Family = "aurora5.6",
Description = "RDS default cluster parameter group",
Parameters = new[]
{
new Aws.Rds.Inputs.ClusterParameterGroupParameterArgs
{
Name = "character_set_server",
Value = "utf8",
},
new Aws.Rds.Inputs.ClusterParameterGroupParameterArgs
{
Name = "character_set_client",
Value = "utf8",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds.NewClusterParameterGroup(ctx, "default", &rds.ClusterParameterGroupArgs{
Name: pulumi.String("rds-cluster-pg"),
Family: pulumi.String("aurora5.6"),
Description: pulumi.String("RDS default cluster parameter group"),
Parameters: rds.ClusterParameterGroupParameterArray{
&rds.ClusterParameterGroupParameterArgs{
Name: pulumi.String("character_set_server"),
Value: pulumi.String("utf8"),
},
&rds.ClusterParameterGroupParameterArgs{
Name: pulumi.String("character_set_client"),
Value: pulumi.String("utf8"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.ClusterParameterGroup;
import com.pulumi.aws.rds.ClusterParameterGroupArgs;
import com.pulumi.aws.rds.inputs.ClusterParameterGroupParameterArgs;
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 ClusterParameterGroup("default", ClusterParameterGroupArgs.builder()
.name("rds-cluster-pg")
.family("aurora5.6")
.description("RDS default cluster parameter group")
.parameters(
ClusterParameterGroupParameterArgs.builder()
.name("character_set_server")
.value("utf8")
.build(),
ClusterParameterGroupParameterArgs.builder()
.name("character_set_client")
.value("utf8")
.build())
.build());
}
}
resources:
default:
type: aws:rds:ClusterParameterGroup
properties:
name: rds-cluster-pg
family: aurora5.6
description: RDS default cluster parameter group
parameters:
- name: character_set_server
value: utf8
- name: character_set_client
value: utf8

Import

Using pulumi import, import RDS Cluster Parameter Groups using the name. For example:

$ pulumi import aws:rds/clusterParameterGroup:ClusterParameterGroup cluster_pg production-pg-1

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the db cluster parameter group.

Link copied to clipboard
val description: Output<String>

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

Link copied to clipboard
val family: Output<String>

The family of the DB cluster parameter group.

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

The name of the DB parameter.

Link copied to clipboard
val namePrefix: Output<String>

Creates a unique name beginning with the specified prefix. Conflicts with name.

Link copied to clipboard

A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via aws rds describe-db-cluster-parameters after initial creation of the group.

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>>?

A map of tags to assign to the resource. 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>