Skip to content
v2.278.0

CfnClusterParameterGroupProps Struct ​

Properties for defining a CfnClusterParameterGroup.

Example ​

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
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
// 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();
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"
    } }
};
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 ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string required #
The description of the parameter group.
parameterGroupFamilystringparameter_group_familystrparameterGroupFamilyStringParameterGroupFamilystringParameterGroupFamily*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 .

parameterGroupNameoptionalstringparameter_group_nameoptionalstrparameterGroupNameoptionalStringParameterGroupNameoptionalstringParameterGroupNameoptional*string #
The name of the cluster parameter group.
parametersoptionalIResolvable | IResolvable | CfnClusterParameterGroup.ParameterProperty[]parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ParameterProperty]]]parametersoptionalIResolvableParametersoptionalIResolvableParametersoptionalinterface{} #
An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request.
notes

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.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The list of tags for the cluster parameter group.