# CfnClusterParameterGroupProps

Properties for defining a `CfnClusterParameterGroup`.

Used as props by: [CfnClusterParameterGroup](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterParameterGroup.html)

- Source: Generated at build time
- Type last changed: v2.70.0 · 22 Mar 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshift as redshift } from 'aws-cdk-lib';
const cfnClusterParameterGroupProps: redshift.CfnClusterParameterGroupProps = {
  description: 'description',
  parameterGroupFamily: 'parameterGroupFamily',

  // the properties below are optional
  parameterGroupName: 'parameterGroupName',
  parameters: [{
    parameterName: 'parameterName',
    parameterValue: 'parameterValue',
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_redshift as redshift

cfn_cluster_parameter_group_props = redshift.CfnClusterParameterGroupProps(
    description="description",
    parameter_group_family="parameterGroupFamily",

    # the properties below are optional
    parameter_group_name="parameterGroupName",
    parameters=[redshift.CfnClusterParameterGroup.ParameterProperty(
        parameter_name="parameterName",
        parameter_value="parameterValue"
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.redshift.*;

CfnClusterParameterGroupProps cfnClusterParameterGroupProps = CfnClusterParameterGroupProps.builder()
        .description("description")
        .parameterGroupFamily("parameterGroupFamily")

        // the properties below are optional
        .parameterGroupName("parameterGroupName")
        .parameters(List.of(ParameterProperty.builder()
                .parameterName("parameterName")
                .parameterValue("parameterValue")
                .build()))
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Redshift;

var cfnClusterParameterGroupProps = new CfnClusterParameterGroupProps {
    Description = "description",
    ParameterGroupFamily = "parameterGroupFamily",

    // the properties below are optional
    ParameterGroupName = "parameterGroupName",
    Parameters = new [] { new ParameterProperty {
        ParameterName = "parameterName",
        ParameterValue = "parameterValue"
    } },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnClusterParameterGroupProps := &CfnClusterParameterGroupProps{
	Description: jsii.String("description"),
	ParameterGroupFamily: jsii.String("parameterGroupFamily"),

	// the properties below are optional
	ParameterGroupName: jsii.String("parameterGroupName"),
	Parameters: []interface{}{
		&ParameterProperty{
			ParameterName: jsii.String("parameterName"),
			ParameterValue: jsii.String("parameterValue"),
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `description`: string (required) — The description of the parameter group.

- `parameterGroupFamily`: string (required) — The name of the cluster parameter group family that this cluster parameter group is compatible with.

  You can create a custom parameter group and then associate your cluster with it. For more information, see [Amazon Redshift parameter groups](https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html) .

- `parameterGroupName`: string — The name of the cluster parameter group.

- `parameters`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnClusterParameterGroup.ParameterProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_redshift.CfnClusterParameterGroup.ParameterProperty.html)[] — An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.

  For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.

  For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The list of tags for the cluster parameter group.
