Skip to main content
net6.0

The CDK Construct Library for AWS::DSQL (Stability: Experimental)

Published
Oct 20, 2026
yesterday
Total Downloads
1.7K
1,741

Install

dotnet add package Amazon.CDK.AWS.DSQL.Alpha --version 2.274.0-alpha.0
ProductVersions
.NET
net6.0

README

Amazon Aurora DSQL Construct Library


cdk-constructs: Experimental

The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


Amazon Aurora DSQL is a serverless, distributed relational database service optimized for transactional workloads. Aurora DSQL offers virtually unlimited scale and doesn't require you to manage infrastructure. The active-active highly available architecture provides 99.99% single-Region and 99.999% multi-Region availability.

The @aws-cdk/aws-dsql-alpha package contains primitives for setting up Aurora DSQL clusters.

using Amazon.CDK.AWS.DSQL.Alpha;

Creating an Aurora DSQL Cluster

To create an Aurora DSQL cluster, define a Cluster:

var cluster = new Cluster(this, "Cluster", new ClusterProps {
    ClusterName = "my-dsql-cluster",
    DeletionProtection = true
});

Granting Connect Access

You can grant IAM principals the ability to connect to the cluster:

var role = new Role(this, "DBRole", new RoleProps { AssumedBy = new AccountPrincipal(Account) });
var cluster = new Cluster(this, "Cluster");

// Use one of the following statements to grant the role the necessary permissions
cluster.GrantConnect(role); // Grant the role dsql:DbConnect
cluster.GrantConnectAdmin(role); // Grant the role dsql:DbConnectAdmin
cluster.Grant(role, "dsql:DbConnect");

Changes from Previous Version

No structural changes between v2.273.0-alpha.0 and v2.274.0-alpha.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.