@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.904Z") @Stability(value=Experimental) public class ServerlessCluster extends Resource implements IServerlessCluster
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerlessCluster.Builder
(experimental) A fluent builder for
ServerlessCluster. |
software.amazon.jsii.JsiiObject.InitializationModeIServerlessCluster.Jsii$Default, IServerlessCluster.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ServerlessCluster(software.constructs.Construct scope,
String id,
ServerlessClusterProps props) |
protected |
ServerlessCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ServerlessCluster(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(RotationSingleUserOptions options)
(experimental) Adds the single user rotation of the master password to this cluster.
|
SecretAttachmentTargetProps |
asSecretAttachmentTarget()
(experimental) Renders the secret attachment target specifications.
|
static IServerlessCluster |
fromServerlessClusterAttributes(software.constructs.Construct scope,
String id,
ServerlessClusterAttributes attrs)
(experimental) Import an existing DatabaseCluster from properties.
|
String |
getClusterArn()
(experimental) The ARN of the cluster.
|
Endpoint |
getClusterEndpoint()
(experimental) The endpoint to use for read/write operations.
|
String |
getClusterIdentifier()
(experimental) Identifier of the cluster.
|
Endpoint |
getClusterReadEndpoint()
(experimental) The endpoint to use for read/write operations.
|
Connections |
getConnections()
(experimental) Access to the network connections.
|
protected Boolean |
getEnableDataApi() |
ISecret |
getSecret()
(experimental) The secret attached to this cluster.
|
Grant |
grantDataApiAccess(IGrantable grantee)
(experimental) Grant the given identity to access to the Data API, including read access to the secret attached to the cluster if present.
|
protected void |
setEnableDataApi(Boolean value) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ServerlessCluster(software.amazon.jsii.JsiiObjectRef objRef)
protected ServerlessCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public ServerlessCluster(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ServerlessClusterProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IServerlessCluster fromServerlessClusterAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ServerlessClusterAttributes 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 RotationSingleUserOptions options)
options - @Stability(value=Experimental) @NotNull public SecretRotation addRotationSingleUser()
@Stability(value=Experimental) @NotNull public SecretAttachmentTargetProps asSecretAttachmentTarget()
asSecretAttachmentTarget in interface ISecretAttachmentTarget@Stability(value=Experimental) @NotNull public Grant grantDataApiAccess(@NotNull IGrantable grantee)
grantDataApiAccess in interface IServerlessClustergrantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull public String getClusterArn()
getClusterArn in interface IServerlessCluster@Stability(value=Experimental) @NotNull public Endpoint getClusterEndpoint()
getClusterEndpoint in interface IServerlessCluster@Stability(value=Experimental) @NotNull public String getClusterIdentifier()
getClusterIdentifier in interface IServerlessCluster@Stability(value=Experimental) @NotNull public Endpoint getClusterReadEndpoint()
getClusterReadEndpoint in interface IServerlessCluster@Stability(value=Experimental) @NotNull public Connections getConnections()
getConnections in interface IConnectable@Stability(value=Experimental) @Nullable public ISecret getSecret()
@Stability(value=Experimental) @Nullable protected Boolean getEnableDataApi()
@Stability(value=Experimental)
protected void setEnableDataApi(@Nullable
Boolean value)
Copyright © 2021. All rights reserved.