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:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:25.892Z")
@Stability(Stable)
public class CfnDBShardGroup
extends CfnResource
implements IInspectable, 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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnDBShardGroup
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDBShardGroup
(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 DB shard groups for the DB shard group.The name of the primary DB cluster for the DB shard group.The name of the DB shard group.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setComputeRedundancy
(Number value) Specifies whether to create standby DB shard groups for the DB shard group.void
setDbClusterIdentifier
(String value) The name of the primary DB cluster for the DB shard group.void
setDbShardGroupIdentifier
(String value) The name of the DB shard group.void
The maximum capacity of the DB shard group in Aurora capacity units (ACUs).void
The minimum capacity of the DB shard group in Aurora capacity units (ACUs).void
setPubliclyAccessible
(Boolean value) Specifies whether the DB shard group is publicly accessible.void
setPubliclyAccessible
(IResolvable value) Specifies whether the DB shard group is publicly accessible.void
An 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
CreateDBInstance
DescribeDBInstances
DeleteDBInstance
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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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 DB shard groups for the DB shard group.Valid values are the following:.
-
setComputeRedundancy
Specifies whether to create standby DB shard groups for the DB shard group.Valid values are the following:.
-
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. -
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.
-