Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

import aws_cdk.aws_dsql_alpha as dsql

Creating an Aurora DSQL Cluster

To create an Aurora DSQL cluster, define a Cluster:

cluster = dsql.Cluster(self, "Cluster",
    cluster_name="my-dsql-cluster",
    deletion_protection=True
)

Granting Connect Access

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

role = iam.Role(self, "DBRole", assumed_by=iam.AccountPrincipal(self.account))
cluster = dsql.Cluster(self, "Cluster")

# Use one of the following statements to grant the role the necessary permissions
cluster.grant_connect(role) # Grant the role dsql:DbConnect
cluster.grant_connect_admin(role) # Grant the role dsql:DbConnectAdmin
cluster.grant(role, "dsql:DbConnect")

Metadata

Release files for aws-cdk.aws-dsql-alpha 2.278.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-cdk.aws-dsql-alpha 2.278.0a0
File Size Uploaded Provenance Actions
aws_cdk_aws_dsql_alpha-2.278.0a0.tar.gz 52.8 kB Without provenance Details for aws_cdk_aws_dsql_alpha-2.278.0a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aws-cdk.aws-dsql-alpha 2.278.0a0
File Interpreter ABI Platform Actions
aws_cdk_aws_dsql_alpha-2.278.0a0-py3-none-any.whl Python 3 none any Details for aws_cdk_aws_dsql_alpha-2.278.0a0-py3-none-any.whl

Total release size: 104.1 kB

Release files / aws_cdk_aws_dsql_alpha-2.278.0a0.tar.gz

Download URL aws_cdk_aws_dsql_alpha-2.278.0a0.tar.gz
Size 52.8 kB
Tags Source
SHA-256 checksum
How to use checksums
72c0a7ee1f0ed620cf14353b034704d93e0ccae62d00e1b69b2bd20aebe2b62c
BLAKE2b-256 checksum
How to use checksums
10486be8e94f0148754a2d461eee2ae72f2e38973315a61fce810a75794a2ca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / aws_cdk_aws_dsql_alpha-2.278.0a0-py3-none-any.whl

Download URL aws_cdk_aws_dsql_alpha-2.278.0a0-py3-none-any.whl
Size 51.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c41a9728ab8ea2c1be43480a4ae7a6d7519025bda705df6c192f52c358a086dd
BLAKE2b-256 checksum
How to use checksums
1f25e52e50d4957e98ed1743a3d14eaeca57100558558c40018251704f3cb999
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for aws-cdk.aws-dsql-alpha 2.278.0a0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page