Class CfnMultiRegionCluster
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.memorydb.CfnMultiRegionCluster
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IMultiRegionClusterRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:24.851Z")
@Stability(Stable)
public class CfnMultiRegionCluster
extends CfnResource
implements IInspectable, IMultiRegionClusterRef, ITaggableV2
Represents a multi-Region cluster.
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.memorydb.*;
CfnMultiRegionCluster cfnMultiRegionCluster = CfnMultiRegionCluster.Builder.create(this, "MyCfnMultiRegionCluster")
.nodeType("nodeType")
// the properties below are optional
.description("description")
.engine("engine")
.engineVersion("engineVersion")
.multiRegionClusterNameSuffix("multiRegionClusterNameSuffix")
.multiRegionParameterGroupName("multiRegionParameterGroupName")
.numShards(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.tlsEnabled(false)
.updateStrategy("updateStrategy")
.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.memorydb.IMultiRegionClusterRef
IMultiRegionClusterRef.Jsii$Default, IMultiRegionClusterRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnMultiRegionCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnMultiRegionCluster(software.amazon.jsii.JsiiObjectRef objRef) CfnMultiRegionCluster(software.constructs.Construct scope, String id, CfnMultiRegionClusterProps props) Create a newAWS::MemoryDB::MultiRegionCluster. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the multi-Region cluster.The name of the multi-Region cluster.The current status of the multi-Region cluster.Tag Manager which manages the tags for this resource.The description of the multi-Region cluster.The name of the engine used by the multi-Region cluster.The version of the engine used by the multi-Region cluster.A suffix to be added to the Multi-Region cluster name.A reference to a MultiRegionCluster resource.The name of the multi-Region parameter group associated with the cluster.The node type used by the multi-Region cluster.The number of shards in the multi-Region cluster.getTags()A list of tags to be applied to the multi-Region cluster.Indiciates if the multi-Region cluster is TLS enabled.The strategy to use for the update operation.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnMultiRegionCluster.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the multi-Region cluster.voidThe name of the engine used by the multi-Region cluster.voidsetEngineVersion(String value) The version of the engine used by the multi-Region cluster.voidA suffix to be added to the Multi-Region cluster name.voidThe name of the multi-Region parameter group associated with the cluster.voidsetNodeType(String value) The node type used by the multi-Region cluster.voidsetNumShards(Number value) The number of shards in the multi-Region cluster.voidA list of tags to be applied to the multi-Region cluster.voidsetTlsEnabled(Boolean value) Indiciates if the multi-Region cluster is TLS enabled.voidsetTlsEnabled(IResolvable value) Indiciates if the multi-Region cluster is TLS enabled.voidsetUpdateStrategy(String value) The strategy to use for the update operation.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.interfaces.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
-
CfnMultiRegionCluster
protected CfnMultiRegionCluster(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMultiRegionCluster
protected CfnMultiRegionCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMultiRegionCluster
@Stability(Stable) public CfnMultiRegionCluster(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMultiRegionClusterProps props) Create a newAWS::MemoryDB::MultiRegionCluster.- 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
-
arnForMultiRegionCluster
@Stability(Stable) @NotNull public static String arnForMultiRegionCluster(@NotNull IMultiRegionClusterRef resource) - Parameters:
resource- This parameter is required.
-
isCfnMultiRegionCluster
Checks whether the given object is a CfnMultiRegionCluster.- Parameters:
x- This parameter is required.
-
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.
-
getAttrArn
The Amazon Resource Name (ARN) of the multi-Region cluster. -
getAttrMultiRegionClusterName
The name of the multi-Region cluster. -
getAttrStatus
The current status of the multi-Region cluster. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getMultiRegionClusterRef
A reference to a MultiRegionCluster resource.- Specified by:
getMultiRegionClusterRefin interfaceIMultiRegionClusterRef
-
getNodeType
The node type used by the multi-Region cluster. -
setNodeType
The node type used by the multi-Region cluster. -
getDescription
The description of the multi-Region cluster. -
setDescription
The description of the multi-Region cluster. -
getEngine
The name of the engine used by the multi-Region cluster. -
setEngine
The name of the engine used by the multi-Region cluster. -
getEngineVersion
The version of the engine used by the multi-Region cluster. -
setEngineVersion
The version of the engine used by the multi-Region cluster. -
getMultiRegionClusterNameSuffix
A suffix to be added to the Multi-Region cluster name. -
setMultiRegionClusterNameSuffix
A suffix to be added to the Multi-Region cluster name. -
getMultiRegionParameterGroupName
The name of the multi-Region parameter group associated with the cluster. -
setMultiRegionParameterGroupName
The name of the multi-Region parameter group associated with the cluster. -
getNumShards
The number of shards in the multi-Region cluster. -
setNumShards
The number of shards in the multi-Region cluster. -
getTags
A list of tags to be applied to the multi-Region cluster. -
setTags
A list of tags to be applied to the multi-Region cluster. -
getTlsEnabled
Indiciates if the multi-Region cluster is TLS enabled.Returns union: either
BooleanorIResolvable -
setTlsEnabled
Indiciates if the multi-Region cluster is TLS enabled. -
setTlsEnabled
Indiciates if the multi-Region cluster is TLS enabled. -
getUpdateStrategy
The strategy to use for the update operation. -
setUpdateStrategy
The strategy to use for the update operation.
-