Package com.pulumi.aws.rds
Class ClusterParameterGroup
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.rds.ClusterParameterGroup
-
public class ClusterParameterGroup extends com.pulumi.resources.CustomResource
Provides an RDS DB cluster parameter group resource. Documentation of the available parameters for various Aurora engines can be found at: * [Aurora MySQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Reference.html) * [Aurora PostgreSQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraPostgreSQL.Reference.html) ## Example Usage <!--Start PulumiCodeChooser --> ```java 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()); } } ``` <!--End PulumiCodeChooser --> ## Import Using `pulumi import`, import RDS Cluster Parameter Groups using the `name`. For example: ```sh $ pulumi import aws:rds/clusterParameterGroup:ClusterParameterGroup cluster_pg production-pg-1 ```
-
-
Constructor Summary
Constructors Constructor Description ClusterParameterGroup(java.lang.String name)
ClusterParameterGroup(java.lang.String name, ClusterParameterGroupArgs args)
ClusterParameterGroup(java.lang.String name, ClusterParameterGroupArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.lang.String>
description()
com.pulumi.core.Output<java.lang.String>
family()
static ClusterParameterGroup
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ClusterParameterGroupState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
namePrefix()
com.pulumi.core.Output<java.util.Optional<java.util.List<ClusterParameterGroupParameter>>>
parameters()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>
tagsAll()
-
-
-
Constructor Detail
-
ClusterParameterGroup
public ClusterParameterGroup(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
ClusterParameterGroup
public ClusterParameterGroup(java.lang.String name, ClusterParameterGroupArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
ClusterParameterGroup
public ClusterParameterGroup(java.lang.String name, ClusterParameterGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- The ARN of the db cluster parameter group.
-
description
public com.pulumi.core.Output<java.lang.String> description()
- Returns:
- The description of the DB cluster parameter group. Defaults to "Managed by Pulumi".
-
family
public com.pulumi.core.Output<java.lang.String> family()
- Returns:
- The family of the DB cluster parameter group.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the DB parameter.
-
namePrefix
public com.pulumi.core.Output<java.lang.String> namePrefix()
- Returns:
- Creates a unique name beginning with the specified prefix. Conflicts with `name`.
-
parameters
public com.pulumi.core.Output<java.util.Optional<java.util.List<ClusterParameterGroupParameter>>> parameters()
- Returns:
- 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`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-cluster-parameters.html) after initial creation of the group.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- 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.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
-
get
public static ClusterParameterGroup get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ClusterParameterGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-