Formulir Kontak

Nama

Email *

Pesan *

Cari Blog Ini

Cdk Cli Schema Version

Versioning for the AWS Cloud Development Kit (AWS CDK)

Overview

This topic provides reference information on how the AWS Cloud Development Kit (AWS CDK) handles versioning.

General Versioning

The AWS CDK uses semantic versioning for its releases. This means that each release is identified by a major version number, a minor version number, and a patch version number. The major version number indicates the compatibility of the API, the minor version number indicates new features, and the patch version number indicates bug fixes.

The AWS CDK CLI is backward-compatible within a major version. This means that you can upgrade the CLI to a newer version without breaking your existing CDK applications. However, you should always consult the release notes for the new version to ensure compatibility.

CDK Library Versioning

The CDK library is versioned separately from the CLI. When you create a new CDK application, you must specify the version of the CDK library that you want to use. You can do this by using the --cdk-version option when you create the application.

The CDK library is forward-compatible within a major version. This means that you can use a newer version of the CDK library with an existing CDK application without breaking the application. However, you should always consult the release notes for the new version to ensure compatibility.

Upgrading the CDK CLI

You can upgrade the CDK CLI by running the following command:

``` npm install -g aws-cdk ```

This will install the latest version of the CLI. You can also specify a specific version of the CLI to install by using the --version option.

``` npm install -g aws-cdk@1.0.0 ```


Komentar