Class CfnDBClusterParameterGroup
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::RDS::DBClusterParameterGroup.
The AWS::RDS::DBClusterParameterGroup resource creates a new Amazon RDS DB cluster parameter group.
For information about configuring parameters for Amazon Aurora DB clusters, see Working with parameter groups in the Amazon Aurora User Guide .
If you apply a parameter group to a DB cluster, then its DB instances might need to reboot. This can result in an outage while the DB instances are rebooting.
If you apply a change to parameter group associated with a stopped DB cluster, then the update stack waits until the DB cluster is started.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rds.*;
Object parameters;
CfnDBClusterParameterGroup cfnDBClusterParameterGroup = CfnDBClusterParameterGroup.Builder.create(this, "MyCfnDBClusterParameterGroup")
.description("description")
.family("family")
.parameters(parameters)
// the properties below are optional
.dbClusterParameterGroupName("dbClusterParameterGroupName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDBClusterParameterGroup.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnDBClusterParameterGroup(Construct scope, String id, CfnDBClusterParameterGroupProps props) Create a newAWS::RDS::DBClusterParameterGroup.protectedCfnDBClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDBClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe name of the DB cluster parameter group.A friendly description for this DB cluster parameter group.The DB cluster parameter group family name.Provides a list of parameters for the DB cluster parameter group.getTags()An optional array of key-value pairs to apply to this DB cluster parameter group.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe name of the DB cluster parameter group.voidsetDescription(String value) A friendly description for this DB cluster parameter group.voidThe DB cluster parameter group family name.voidsetParameters(Object value) Provides a list of parameters for the DB cluster parameter group.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDBClusterParameterGroup
protected CfnDBClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDBClusterParameterGroup
protected CfnDBClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDBClusterParameterGroup
@Stability(Stable) public CfnDBClusterParameterGroup(@NotNull Construct scope, @NotNull String id, @NotNull CfnDBClusterParameterGroupProps props) Create a newAWS::RDS::DBClusterParameterGroup.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An optional array of key-value pairs to apply to this DB cluster parameter group. -
getDescription
A friendly description for this DB cluster parameter group. -
setDescription
A friendly description for this DB cluster parameter group. -
getFamily
The DB cluster parameter group family name.A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a DB engine and engine version compatible with that DB cluster parameter group family.
The DB cluster parameter group family can't be changed when updating a DB cluster parameter group.
To list all of the available parameter group families, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"The output contains duplicates.
For more information, see
[CreateDBClusterParameterGroup](https://docs.aws.amazon.com//AmazonRDS/latest/APIReference/API_CreateDBClusterParameterGroup.html). -
setFamily
The DB cluster parameter group family name.A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a DB engine and engine version compatible with that DB cluster parameter group family.
The DB cluster parameter group family can't be changed when updating a DB cluster parameter group.
To list all of the available parameter group families, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"The output contains duplicates.
For more information, see
[CreateDBClusterParameterGroup](https://docs.aws.amazon.com//AmazonRDS/latest/APIReference/API_CreateDBClusterParameterGroup.html). -
getParameters
Provides a list of parameters for the DB cluster parameter group. -
setParameters
Provides a list of parameters for the DB cluster parameter group. -
getDbClusterParameterGroupName
The name of the DB cluster parameter group.Constraints:
- Must not match the name of an existing DB cluster parameter group.
If you don't specify a value for
DBClusterParameterGroupNameproperty, a name is automatically created for the DB cluster parameter group.This value is stored as a lowercase string.
-
setDbClusterParameterGroupName
The name of the DB cluster parameter group.Constraints:
- Must not match the name of an existing DB cluster parameter group.
If you don't specify a value for
DBClusterParameterGroupNameproperty, a name is automatically created for the DB cluster parameter group.This value is stored as a lowercase string.
-