@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-17T00:23:31.773Z") @Stability(value=Experimental) public class Cluster extends Resource implements ICluster
| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.Builder
(experimental) A fluent builder for
Cluster. |
software.amazon.jsii.JsiiObject.InitializationModeICluster.Jsii$Default, ICluster.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Cluster(software.constructs.Construct scope,
String id,
ClusterProps props) |
protected |
Cluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Cluster(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
SecretRotation |
addRotationMultiUser(String id,
RotationMultiUserOptions options)
(experimental) Adds the multi user rotation to this cluster.
|
SecretRotation |
addRotationSingleUser()
(experimental) Adds the single user rotation of the master password to this cluster.
|
SecretRotation |
addRotationSingleUser(Duration automaticallyAfter)
(experimental) Adds the single user rotation of the master password to this cluster.
|
SecretAttachmentTargetProps |
asSecretAttachmentTarget()
(experimental) Renders the secret attachment target specifications.
|
static ICluster |
fromClusterAttributes(software.constructs.Construct scope,
String id,
ClusterAttributes attrs)
(experimental) Import an existing DatabaseCluster from properties.
|
Endpoint |
getClusterEndpoint()
(experimental) The endpoint to use for read/write operations.
|
String |
getClusterName()
(experimental) Identifier of the cluster.
|
Connections |
getConnections()
(experimental) Access to the network connections.
|
ISecret |
getSecret()
(experimental) The secret attached to this cluster.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected Cluster(software.amazon.jsii.JsiiObjectRef objRef)
protected Cluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Cluster(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ClusterProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static ICluster fromClusterAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ClusterAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public SecretRotation addRotationMultiUser(@NotNull String id, @NotNull RotationMultiUserOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull public SecretRotation addRotationSingleUser(@Nullable Duration automaticallyAfter)
automaticallyAfter - Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.@Stability(value=Experimental) @NotNull public SecretRotation addRotationSingleUser()
@Stability(value=Experimental) @NotNull public SecretAttachmentTargetProps asSecretAttachmentTarget()
asSecretAttachmentTarget in interface ISecretAttachmentTarget@Stability(value=Experimental) @NotNull public Endpoint getClusterEndpoint()
getClusterEndpoint in interface ICluster@Stability(value=Experimental) @NotNull public String getClusterName()
getClusterName in interface ICluster@Stability(value=Experimental) @NotNull public Connections getConnections()
getConnections in interface IConnectable@Stability(value=Experimental) @Nullable public ISecret getSecret()
Copyright © 2021. All rights reserved.