Show / Hide Table of Contents

Class ServerlessClusterFromSnapshot

A Aurora Serverless Cluster restored from a snapshot.

Inheritance
System.Object
Construct
Resource
ServerlessClusterFromSnapshot
Implements
IServerlessCluster
IResource
IConstruct
Constructs.IConstruct
IDependable
IConnectable
ISecretAttachmentTarget
Inherited Members
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(String, IArnComponents)
Resource.GetResourceNameAttribute(String)
Resource.Env
Resource.PhysicalName
Resource.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class ServerlessClusterFromSnapshot : Resource, IServerlessCluster, IResource, IConstruct, IDependable, IConnectable, ISecretAttachmentTarget
Syntax (vb)
Public Class ServerlessClusterFromSnapshot
    Inherits Resource
    Implements IServerlessCluster, IResource, IConstruct, IDependable, IConnectable, ISecretAttachmentTarget
Remarks

Resource: AWS::RDS::DBCluster

ExampleMetadata: infused

Examples
Vpc vpc;

new ServerlessClusterFromSnapshot(this, "Cluster", new ServerlessClusterFromSnapshotProps {
    Engine = DatabaseClusterEngine.AURORA_MYSQL,
    Vpc = vpc,
    SnapshotIdentifier = "mySnapshot"
});

Synopsis

Constructors

ServerlessClusterFromSnapshot(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

ServerlessClusterFromSnapshot(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

ServerlessClusterFromSnapshot(Construct, String, IServerlessClusterFromSnapshotProps)

Properties

ClusterArn

The ARN of the cluster.

ClusterEndpoint

The endpoint to use for read/write operations.

ClusterIdentifier

Identifier of the cluster.

ClusterReadEndpoint

The endpoint to use for read/write operations.

Connections

Access to the network connections.

EnableDataApi
NewCfnProps
Secret

The secret attached to this cluster.

SecurityGroups

Methods

AsSecretAttachmentTarget()

Renders the secret attachment target specifications.

GrantDataApiAccess(IGrantable)

Grant the given identity to access to the Data API, including read access to the secret attached to the cluster if present.

Constructors

ServerlessClusterFromSnapshot(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected ServerlessClusterFromSnapshot(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

ServerlessClusterFromSnapshot(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected ServerlessClusterFromSnapshot(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

ServerlessClusterFromSnapshot(Construct, String, IServerlessClusterFromSnapshotProps)

public ServerlessClusterFromSnapshot(Construct scope, string id, IServerlessClusterFromSnapshotProps props)
Parameters
scope Constructs.Construct
id System.String
props IServerlessClusterFromSnapshotProps

Properties

ClusterArn

The ARN of the cluster.

public virtual string ClusterArn { get; }
Property Value

System.String

ClusterEndpoint

The endpoint to use for read/write operations.

public virtual Endpoint ClusterEndpoint { get; }
Property Value

Endpoint

ClusterIdentifier

Identifier of the cluster.

public virtual string ClusterIdentifier { get; }
Property Value

System.String

ClusterReadEndpoint

The endpoint to use for read/write operations.

public virtual Endpoint ClusterReadEndpoint { get; }
Property Value

Endpoint

Connections

Access to the network connections.

public virtual Connections_ Connections { get; }
Property Value

Connections_

EnableDataApi

protected virtual Nullable<bool> EnableDataApi { get; set; }
Property Value

System.Nullable<System.Boolean>

NewCfnProps

protected virtual ICfnDBClusterProps NewCfnProps { get; }
Property Value

ICfnDBClusterProps

Secret

The secret attached to this cluster.

public virtual ISecret Secret { get; }
Property Value

ISecret

SecurityGroups

protected virtual ISecurityGroup[] SecurityGroups { get; }
Property Value

ISecurityGroup[]

Methods

AsSecretAttachmentTarget()

Renders the secret attachment target specifications.

public virtual ISecretAttachmentTargetProps AsSecretAttachmentTarget()
Returns

ISecretAttachmentTargetProps

GrantDataApiAccess(IGrantable)

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

Grant

Implements

IServerlessCluster
IResource
IConstruct
Constructs.IConstruct
IDependable
IConnectable
ISecretAttachmentTarget
Back to top Generated by DocFX