Class ServerlessCluster
(experimental) Create an Aurora Serverless Cluster.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class ServerlessCluster : Resource, IServerlessCluster, IResource, IConstruct, IConstruct, IDependable, IConnectable, ISecretAttachmentTarget
Syntax (vb)
Public Class ServerlessCluster
Inherits Resource
Implements IServerlessCluster, IResource, IConstruct, IConstruct, IDependable, IConnectable, ISecretAttachmentTarget
Remarks
Stability: Experimental
Resource: AWS::RDS::DBCluster
Synopsis
Constructors
ServerlessCluster(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ServerlessCluster(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ServerlessCluster(Construct, String, IServerlessClusterProps) |
Properties
ClusterArn | (experimental) The ARN of the cluster. |
ClusterEndpoint | (experimental) The endpoint to use for read/write operations. |
ClusterIdentifier | (experimental) Identifier of the cluster. |
ClusterReadEndpoint | (experimental) The endpoint to use for read/write operations. |
Connections | (experimental) Access to the network connections. |
EnableDataApi | |
Secret | (experimental) The secret attached to this cluster. |
Methods
AddRotationMultiUser(String, IRotationMultiUserOptions) | (experimental) Adds the multi user rotation to this cluster. |
AddRotationSingleUser(IRotationSingleUserOptions) | (experimental) Adds the single user rotation of the master password to this cluster. |
AsSecretAttachmentTarget() | (experimental) Renders the secret attachment target specifications. |
FromServerlessClusterAttributes(Construct, String, IServerlessClusterAttributes) | (experimental) Import an existing DatabaseCluster from properties. |
GrantDataApiAccess(IGrantable) | (experimental) Grant the given identity to access to the Data API, including read access to the secret attached to the cluster if present. |
Constructors
ServerlessCluster(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ServerlessCluster(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ServerlessCluster(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ServerlessCluster(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ServerlessCluster(Construct, String, IServerlessClusterProps)
public ServerlessCluster(Construct scope, string id, IServerlessClusterProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IServerlessClusterProps
Remarks
Stability: Experimental
Properties
ClusterArn
(experimental) The ARN of the cluster.
public virtual string ClusterArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
ClusterEndpoint
(experimental) The endpoint to use for read/write operations.
public virtual Endpoint ClusterEndpoint { get; }
Property Value
Remarks
Stability: Experimental
ClusterIdentifier
(experimental) Identifier of the cluster.
public virtual string ClusterIdentifier { get; }
Property Value
System.String
Remarks
Stability: Experimental
ClusterReadEndpoint
(experimental) The endpoint to use for read/write operations.
public virtual Endpoint ClusterReadEndpoint { get; }
Property Value
Remarks
Stability: Experimental
Connections
(experimental) Access to the network connections.
public virtual Connections_ Connections { get; }
Property Value
Remarks
Stability: Experimental
EnableDataApi
protected virtual Nullable<bool> EnableDataApi { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Stability: Experimental
Secret
(experimental) The secret attached to this cluster.
public virtual ISecret Secret { get; }
Property Value
Remarks
Stability: Experimental
Methods
AddRotationMultiUser(String, IRotationMultiUserOptions)
(experimental) Adds the multi user rotation to this cluster.
public virtual SecretRotation AddRotationMultiUser(string id, IRotationMultiUserOptions options)
Parameters
- id System.String
- options IRotationMultiUserOptions
Returns
Remarks
Stability: Experimental
AddRotationSingleUser(IRotationSingleUserOptions)
(experimental) Adds the single user rotation of the master password to this cluster.
public virtual SecretRotation AddRotationSingleUser(IRotationSingleUserOptions options = null)
Parameters
- options IRotationSingleUserOptions
Returns
Remarks
Stability: Experimental
AsSecretAttachmentTarget()
(experimental) Renders the secret attachment target specifications.
public virtual ISecretAttachmentTargetProps AsSecretAttachmentTarget()
Returns
Remarks
Stability: Experimental
FromServerlessClusterAttributes(Construct, String, IServerlessClusterAttributes)
(experimental) Import an existing DatabaseCluster from properties.
public static IServerlessCluster FromServerlessClusterAttributes(Construct scope, string id, IServerlessClusterAttributes attrs)
Parameters
- scope Constructs.Construct
- id System.String
- attrs IServerlessClusterAttributes
Returns
Remarks
Stability: Experimental
GrantDataApiAccess(IGrantable)
(experimental) Grant the given identity to access to the Data API, including read access to the secret attached to the cluster if present.
public virtual Grant GrantDataApiAccess(IGrantable grantee)
Parameters
- grantee IGrantable
The principal to grant access to.
Returns
Remarks
Stability: Experimental