Class CfnDBShardGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.rds.CfnDBShardGroup
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IDBShardGroupRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:13.236Z")
@Stability(Stable)
public class CfnDBShardGroup
extends CfnResource
implements IInspectable, IDBShardGroupRef, ITaggableV2
Creates a new DB shard group for Aurora Limitless Database.
You must enable Aurora Limitless Database to create a DB shard group.
Valid for: Aurora DB clusters only
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.*;
CfnDBShardGroup cfnDBShardGroup = CfnDBShardGroup.Builder.create(this, "MyCfnDBShardGroup")
.dbClusterIdentifier("dbClusterIdentifier")
.maxAcu(123)
// the properties below are optional
.computeRedundancy(123)
.dbShardGroupIdentifier("dbShardGroupIdentifier")
.minAcu(123)
.publiclyAccessible(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.rds.IDBShardGroupRef
IDBShardGroupRef.Jsii$Default, IDBShardGroupRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDBShardGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDBShardGroup(software.amazon.jsii.JsiiObjectRef objRef) CfnDBShardGroup(software.constructs.Construct scope, String id, CfnDBShardGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe AWS Region -unique, immutable identifier for the DB shard group.This data type represents the information you need to connect to an Amazon RDS DB instance.Tag Manager which manages the tags for this resource.Specifies whether to create standby standby DB data access shard for the DB shard group.The name of the primary DB cluster for the DB shard group.The name of the DB shard group.A reference to a DBShardGroup resource.The maximum capacity of the DB shard group in Aurora capacity units (ACUs).The minimum capacity of the DB shard group in Aurora capacity units (ACUs).Specifies whether the DB shard group is publicly accessible.getTags()An optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetComputeRedundancy(Number value) Specifies whether to create standby standby DB data access shard for the DB shard group.voidsetDbClusterIdentifier(String value) The name of the primary DB cluster for the DB shard group.voidsetDbShardGroupIdentifier(String value) The name of the DB shard group.voidThe maximum capacity of the DB shard group in Aurora capacity units (ACUs).voidThe minimum capacity of the DB shard group in Aurora capacity units (ACUs).voidsetPubliclyAccessible(Boolean value) Specifies whether the DB shard group is publicly accessible.voidsetPubliclyAccessible(IResolvable value) Specifies whether the DB shard group is publicly accessible.voidAn optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods 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
-
CfnDBShardGroup
protected CfnDBShardGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDBShardGroup
protected CfnDBShardGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDBShardGroup
@Stability(Stable) public CfnDBShardGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDBShardGroupProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrDbShardGroupResourceId
The AWS Region -unique, immutable identifier for the DB shard group. -
getAttrEndpoint
This data type represents the information you need to connect to an Amazon RDS DB instance.This data type is used as a response element in the following actions:
CreateDBInstanceDescribeDBInstancesDeleteDBInstance
For the data structure that represents Amazon Aurora DB cluster endpoints, see
DBClusterEndpoint. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDbShardGroupRef
A reference to a DBShardGroup resource.- Specified by:
getDbShardGroupRefin interfaceIDBShardGroupRef
-
getDbClusterIdentifier
The name of the primary DB cluster for the DB shard group. -
setDbClusterIdentifier
The name of the primary DB cluster for the DB shard group. -
getMaxAcu
The maximum capacity of the DB shard group in Aurora capacity units (ACUs). -
setMaxAcu
The maximum capacity of the DB shard group in Aurora capacity units (ACUs). -
getComputeRedundancy
Specifies whether to create standby standby DB data access shard for the DB shard group. -
setComputeRedundancy
Specifies whether to create standby standby DB data access shard for the DB shard group. -
getDbShardGroupIdentifier
The name of the DB shard group. -
setDbShardGroupIdentifier
The name of the DB shard group. -
getMinAcu
The minimum capacity of the DB shard group in Aurora capacity units (ACUs). -
setMinAcu
The minimum capacity of the DB shard group in Aurora capacity units (ACUs). -
getPubliclyAccessible
Specifies whether the DB shard group is publicly accessible.Returns union: either
BooleanorIResolvable -
setPubliclyAccessible
Specifies whether the DB shard group is publicly accessible. -
setPubliclyAccessible
Specifies whether the DB shard group is publicly accessible. -
getTags
An optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group. -
setTags
An optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group.
-