Skip to content
v2.278.0

CfnDBClusterParameterGroupProps Struct ​

Properties for defining a CfnDBClusterParameterGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_docdb as docdb } from 'aws-cdk-lib';

declare const parameters: any;
const cfnDBClusterParameterGroupProps: docdb.CfnDBClusterParameterGroupProps = {
  description: 'description',
  family: 'family',
  parameters: parameters,

  // the properties below are optional
  name: 'name',
  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_docdb as docdb

# parameters: Any

cfn_db_cluster_parameter_group_props = docdb.CfnDBClusterParameterGroupProps(
    description="description",
    family="family",
    parameters=parameters,

    # the properties below are optional
    name="name",
    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.docdb.*;

Object parameters;

CfnDBClusterParameterGroupProps cfnDBClusterParameterGroupProps = CfnDBClusterParameterGroupProps.builder()
        .description("description")
        .family("family")
        .parameters(parameters)

        // the properties below are optional
        .name("name")
        .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.DocDB;

var parameters;

var cfnDBClusterParameterGroupProps = new CfnDBClusterParameterGroupProps {
    Description = "description",
    Family = "family",
    Parameters = parameters,

    // the properties below are optional
    Name = "name",
    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"

var parameters interface{}

cfnDBClusterParameterGroupProps := &CfnDBClusterParameterGroupProps{
	Description: jsii.String("description"),
	Family: jsii.String("family"),
	Parameters: parameters,

	// the properties below are optional
	Name: jsii.String("name"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string required #
The description for the cluster parameter group.
familystringfamilystrfamilyStringFamilystringFamily*string required #
The cluster parameter group family name.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the DB cluster parameter group.

Constraints:

  • Must not match the name of an existing DBClusterParameterGroup .

This value is stored as a lowercase string.

parametersanyparametersAnyparametersObjectParametersobjectParametersinterface{} required #
Provides a list of parameters for the cluster parameter group.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags to be assigned to the cluster parameter group.