Skip to content
v2.277.0

CfnParameterGroupProps Struct ​

Properties for defining a CfnParameterGroup.

Example ​

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

declare const parameters: any;
const cfnParameterGroupProps: memorydb.CfnParameterGroupProps = {
  family: 'family',
  parameterGroupName: 'parameterGroupName',

  // the properties below are optional
  description: 'description',
  parameters: parameters,
  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_memorydb as memorydb

# parameters: Any

cfn_parameter_group_props = memorydb.CfnParameterGroupProps(
    family="family",
    parameter_group_name="parameterGroupName",

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

Object parameters;

CfnParameterGroupProps cfnParameterGroupProps = CfnParameterGroupProps.builder()
        .family("family")
        .parameterGroupName("parameterGroupName")

        // the properties below are optional
        .description("description")
        .parameters(parameters)
        .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.MemoryDB;

var parameters;

var cfnParameterGroupProps = new CfnParameterGroupProps {
    Family = "family",
    ParameterGroupName = "parameterGroupName",

    // the properties below are optional
    Description = "description",
    Parameters = parameters,
    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{}

cfnParameterGroupProps := &CfnParameterGroupProps{
	Family: jsii.String("family"),
	ParameterGroupName: jsii.String("parameterGroupName"),

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

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A description of the parameter group.
familystringfamilystrfamilyStringFamilystringFamily*stringrequired#
The name of the parameter group family that this parameter group is compatible with.
parameterGroupNamestringparameter_group_namestrparameterGroupNameStringParameterGroupNamestringParameterGroupName*stringrequired#
The name of the parameter group.
parametersoptionalanyparametersoptionalAnyparametersoptionalObjectParametersoptionalobjectParametersoptionalinterface{}#
Returns the detailed parameter list for the parameter group.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
An array of key-value pairs to apply to this resource.

For more information, see Tag .