software.amazon.awscdk:lib

The AWS Cloud Development Kit library

License

License

Categories

Categories

AWS Container PaaS Providers
GroupId

GroupId

software.amazon.awscdk
ArtifactId

ArtifactId

lib
Last Version

Last Version

2.0.0-alpha.6
Release Date

Release Date

Type

Type

jar
Description

Description

software.amazon.awscdk:lib
The AWS Cloud Development Kit library
Project URL

Project URL

https://github.com/aws/aws-cdk
Source Code Management

Source Code Management

https://github.com/aws/aws-cdk.git

Download lib

How to add to project

<!-- https://jarcasting.com/artifacts/software.amazon.awscdk/lib/ -->
<dependency>
    <groupId>software.amazon.awscdk</groupId>
    <artifactId>lib</artifactId>
    <version>2.0.0-alpha.6</version>
</dependency>
// https://jarcasting.com/artifacts/software.amazon.awscdk/lib/
implementation 'software.amazon.awscdk:lib:2.0.0-alpha.6'
// https://jarcasting.com/artifacts/software.amazon.awscdk/lib/
implementation ("software.amazon.awscdk:lib:2.0.0-alpha.6")
'software.amazon.awscdk:lib:jar:2.0.0-alpha.6'
<dependency org="software.amazon.awscdk" name="lib" rev="2.0.0-alpha.6">
  <artifact name="lib" type="jar" />
</dependency>
@Grapes(
@Grab(group='software.amazon.awscdk', module='lib', version='2.0.0-alpha.6')
)
libraryDependencies += "software.amazon.awscdk" % "lib" % "2.0.0-alpha.6"
[software.amazon.awscdk/lib "2.0.0-alpha.6"]

Dependencies

compile (4)

Group / Artifact Type Version
software.constructs : constructs jar [10.0.0-pre.5]
software.amazon.jsii : jsii-runtime jar [1.21.0,2.0.0)
org.jetbrains : annotations jar [16.0.3,20.0.0)
javax.annotation : javax.annotation-api jar [1.3.2,1.4.0)

Project Modules

There are no modules declared in this project.

AWS Cloud Development Kit (AWS CDK)

Build Status Gitpod Ready-to-Code NPM version PyPI version NuGet version Maven Central Mergify

The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation.

It offers a high-level object-oriented abstraction to define AWS resources imperatively using the power of modern programming languages. Using the CDK’s library of infrastructure constructs, you can easily encapsulate AWS best practices in your infrastructure definition and share it without worrying about boilerplate logic.

The CDK is available in the following languages:


Jump To: Developer Guide | API Reference | Getting Started | Getting Help | Contributing | RFCs | Roadmap | More Resources


Developers use the CDK framework in one of the supported programming languages to define reusable cloud components called constructs, which are composed together into stacks, forming a "CDK app".

They then use the AWS CDK CLI to interact with their CDK app. The CLI allows developers to synthesize artifacts such as AWS CloudFormation Templates, deploy stacks to development AWS accounts and "diff" against a deployed stack to understand the impact of a code change.

The AWS Construct Library includes a module for each AWS service with constructs that offer rich APIs that encapsulate the details of how to use AWS. The AWS Construct Library aims to reduce the complexity and glue-logic required when integrating various AWS services to achieve your goals on AWS.

Modules in the AWS Construct Library are designated Experimental while we build them; experimental modules may have breaking API changes in any release. After a module is designated Stable, it adheres to semantic versioning, and only major releases can have breaking changes. Each module's stability designation is available on its Overview page in the AWS CDK API Reference. For more information, see Versioning in the CDK Developer Guide.

Getting Started

For a detailed walkthrough, see the tutorial in the AWS CDK Developer Guide.

At a glance

Install or update the AWS CDK CLI from npm (requires Node.js ≥ 10.13.0). We recommend using a version in Active LTS ⚠️ versions 13.0.0 to 13.6.0 are not supported due to compatibility issues with our dependencies.

$ npm i -g aws-cdk

(See Manual Installation for installing the CDK from a signed .zip file).

Initialize a project:

$ mkdir hello-cdk
$ cd hello-cdk
$ cdk init sample-app --language=typescript

This creates a sample project looking like this:

export class HelloCdkStack extends cdk.Stack {
  constructor(scope: cdk.App, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    const queue = new sqs.Queue(this, 'HelloCdkQueue', {
      visibilityTimeout: cdk.Duration.seconds(300)
    });

    const topic = new sns.Topic(this, 'HelloCdkTopic');

    topic.addSubscription(new subs.SqsSubscription(queue));
  }
}

Deploy this to your account:

$ cdk deploy

Use the cdk command-line toolkit to interact with your project:

  • cdk deploy: deploys your app into an AWS account
  • cdk synth: synthesizes an AWS CloudFormation template for your app
  • cdk diff: compares your app with the deployed stack

Getting Help

The best way to interact with our team is through GitHub. You can open an issue and choose from one of our templates for bug reports, feature requests, documentation issues, or guidance.

If you have a support plan with AWS Support, you can also create a new support case.

You may also find help on these community resources:

Roadmap

The AWS CDK Roadmap project board lets developers know about our upcoming features and priorities to help them plan how to best leverage the CDK and identify opportunities to contribute to the project. See ROADMAP.md for more information and FAQs.

Contributing

We welcome community contributions and pull requests. See CONTRIBUTING.md for information on how to set up a development environment and submit code.

More Resources

software.amazon.awscdk

Amazon Web Services

Versions

Version
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
2.0.0-alpha.0