Skip to content

Commit 5a0418a

Browse files
author
Elad Ben-Israel
authored
v0.7.0 (aws#97)
* Bring in historical changelog and add a section for 0.7.0 * Update README instructions * Fix typescript templates
1 parent c96511a commit 5a0418a

File tree

44 files changed

+1190
-303
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1190
-303
lines changed

CHANGELOG.md

+882
Large diffs are not rendered by default.

README.md

+44-25
Original file line numberDiff line numberDiff line change
@@ -5,51 +5,70 @@ for defining cloud infrastructure in code.
55

66
## Getting Started
77

8-
### Installation
8+
### Prerequisites
9+
10+
Make sure you have the following prerequisites installed:
911

10-
Make sure you have the required dependencies installed:
1112
* [Node.js 8.11.0](https://nodejs.org/download/release/v8.11.0/)
12-
* The SDK for the language you intend to use (Java, .Net, Ruby, ...)
13+
* [AWS CLI](https://aws.amazon.com/cli/) (only needed if you intend to download the release from S3).
14+
* The development toolchain of the language you intend to use (TypeScript,
15+
Python, Java, .NET, Ruby...)
16+
17+
### Downloading the bits
18+
19+
The CDK is distributed as a single zip file which contains:
20+
21+
1. The CDK command-line toolkit
22+
2. Documentation HTML
23+
2. JavaScript/TypeScript Framework and AWS Constructs
24+
3. Java Framework and AWS Constructs
25+
26+
You can either download the zip file from the
27+
[Releases](http://github.com/awslabs/aws-cdk/releases) page on GitHub or if you
28+
prefer, download them bits from S3 using the URL provided by our team.
29+
30+
To download from S3:
1331

14-
Download the current release bundle from S3, and install it to `~/.cdk`:
1532
```shell
16-
tmpdir=/tmp/aws-cdk-install
17-
mkdir ${tmpdir}
18-
aws s3 cp s3://<bucket>/<key> ${tmpdir}/aws-cdk.zip
19-
unzip -o ${tmpdir}/aws-cdk.zip -d ~/.cdk
33+
aws s3 cp <s3-url> ~/aws-cdk.zip
2034
```
2135

22-
Then add the CDK to your `$PATH`:
36+
### Install to ~/.cdk
37+
38+
Once you've downloaded the bits, install them into `~/.cdk`:
39+
2340
```shell
24-
# At the end of your ~/.bashrc or ~/.zshrc file
25-
export PATH=${PATH:+${PATH}:}${HOME}/.cdk/bin
41+
rm -fr ~/.cdk
42+
mkdir ~/.cdk
43+
unzip <path-to-zip-file> -d ~/.cdk
2644
```
2745

28-
### Creating a new project
46+
Make sure the ~/.cdk/bin is in your `PATH`
2947

30-
New projects can be initialized using `cdk init`.
3148
```shell
32-
mkdir ${PROJECT_NAME}
33-
cd ${PROJECT_NAME}
34-
cdk init
49+
# at the end of your ~/.bashrc or ~/.zshrc file
50+
export PATH=$PATH:$HOME/.cdk/bin
3551
```
3652

37-
### Useful commands
53+
To check which CDK version you have installed:
3854

3955
```shell
40-
# Initialize a new CDK project
41-
cdk init
56+
cdk --version
57+
```
4258

43-
# Open the documentation in a web browser
44-
cdk docs
59+
### Viewing Documentation
4560

46-
# List available commands
47-
cdk help
61+
To view CDK documentation bundled with the release, run:
4862

49-
# Get help on a particular command (e.g: synth)
50-
cdk help synth
63+
```shell
64+
cdk docs
5165
```
5266

67+
### Next steps?
68+
69+
Follow the "Getting Started" guide in CDK docs to initialize your first CDK
70+
project and deploy it to an AWS account.
71+
5372
## Development Environment
5473

5574
This is a monorepo which uses [lerna](https://github.com/lerna/lerna).

examples/package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "examples",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "A bunch of CDK examples",
55
"private": true,
66
"scripts": {
@@ -17,22 +17,22 @@
1717
},
1818
"license": "LicenseRef-LICENSE",
1919
"devDependencies": {
20-
"aws-cdk": "^0.6.0",
21-
"pkglint": "^0.6.0"
20+
"aws-cdk": "^0.7.0",
21+
"pkglint": "^0.7.0"
2222
},
2323
"dependencies": {
24-
"@aws-cdk/core": "^0.6.0",
25-
"@aws-cdk/dynamodb": "^0.6.0",
26-
"@aws-cdk/ec2": "^0.6.0",
27-
"@aws-cdk/iam": "^0.6.0",
28-
"@aws-cdk/lambda": "^0.6.0",
29-
"@aws-cdk/neptune": "^0.6.0",
30-
"@aws-cdk/rds": "^0.6.0",
31-
"@aws-cdk/resources": "^0.6.0",
32-
"@aws-cdk/rtv": "^0.6.0",
33-
"@aws-cdk/s3": "^0.6.0",
34-
"@aws-cdk/sns": "^0.6.0",
35-
"@aws-cdk/sqs": "^0.6.0"
24+
"@aws-cdk/core": "^0.7.0",
25+
"@aws-cdk/dynamodb": "^0.7.0",
26+
"@aws-cdk/ec2": "^0.7.0",
27+
"@aws-cdk/iam": "^0.7.0",
28+
"@aws-cdk/lambda": "^0.7.0",
29+
"@aws-cdk/neptune": "^0.7.0",
30+
"@aws-cdk/rds": "^0.7.0",
31+
"@aws-cdk/resources": "^0.7.0",
32+
"@aws-cdk/rtv": "^0.7.0",
33+
"@aws-cdk/s3": "^0.7.0",
34+
"@aws-cdk/sns": "^0.7.0",
35+
"@aws-cdk/sqs": "^0.7.0"
3636
},
3737
"repository": {
3838
"url": "git://github.com/awslabs/aws-cdk",

install.sh

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/bin/bash
22
set -euo pipefail
33

4-
mkdir -p .local-npm
5-
(cd .local-npm && unzip ../vendor/*.zip)
6-
74
echo "============================================================================================="
85
echo "installing repo-global dependencies..."
96
npm i --no-package-lock --global-style

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"examples"
88
],
99
"rejectCycles": "true",
10-
"version": "0.6.0"
10+
"version": "0.7.0"
1111
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"ignore": true
55
},
66
"scripts": {
7+
"preinstall": "rm -fr .local-npm && mkdir -p .local-npm && (cd .local-npm && unzip ../vendor/*.zip)",
78
"pkglint": "tools/pkglint/bin/pkglint -f ."
89
},
910
"devDependencies": {

packages/@aws-cdk/acm/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/acm",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "CDK Constructs for AWS ACM",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -35,14 +35,14 @@
3535
},
3636
"license": "LicenseRef-LICENSE",
3737
"devDependencies": {
38-
"@aws-cdk/assert": "^0.6.0",
39-
"aws-cdk": "^0.6.0",
38+
"@aws-cdk/assert": "^0.7.0",
39+
"aws-cdk": "^0.7.0",
4040
"aws-sdk": "^2.135.0",
41-
"pkglint": "^0.6.0"
41+
"pkglint": "^0.7.0"
4242
},
4343
"dependencies": {
44-
"@aws-cdk/core": "^0.6.0",
45-
"@aws-cdk/iam": "^0.6.0",
46-
"@aws-cdk/resources": "^0.6.0"
44+
"@aws-cdk/core": "^0.7.0",
45+
"@aws-cdk/iam": "^0.7.0",
46+
"@aws-cdk/resources": "^0.7.0"
4747
}
4848
}

packages/@aws-cdk/applet-js/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/applet-js",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "Javascript CDK applet host program",
55
"main": "bin/cdk-applet-js.js",
66
"types": "bin/cdk-applet-js.d.ts",
@@ -21,10 +21,10 @@
2121
"license": "LicenseRef-LICENSE",
2222
"devDependencies": {
2323
"@types/yamljs": "^0.2.0",
24-
"pkglint": "^0.6.0"
24+
"pkglint": "^0.7.0"
2525
},
2626
"dependencies": {
27-
"@aws-cdk/core": "^0.6.0",
27+
"@aws-cdk/core": "^0.7.0",
2828
"source-map-support": "^0.5.6",
2929
"yamljs": "^0.2.0"
3030
},

packages/@aws-cdk/assert/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/assert",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "An assertion library for use with CDK Apps",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -21,12 +21,12 @@
2121
},
2222
"license": "LicenseRef-LICENSE",
2323
"devDependencies": {
24-
"pkglint": "^0.6.0"
24+
"pkglint": "^0.7.0"
2525
},
2626
"dependencies": {
27-
"@aws-cdk/core": "^0.6.0",
28-
"@aws-cdk/cloudformation-diff": "^0.6.0",
29-
"@aws-cdk/cx-api": "^0.6.0",
27+
"@aws-cdk/cloudformation-diff": "^0.7.0",
28+
"@aws-cdk/core": "^0.7.0",
29+
"@aws-cdk/cx-api": "^0.7.0",
3030
"source-map-support": "^0.5.6"
3131
},
3232
"repository": {

packages/@aws-cdk/cloudformation-diff/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/cloudformation-diff",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "Utilities to diff CDK stacks against CloudFormation templates",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -17,10 +17,10 @@
1717
},
1818
"license": "LicenseRef-LICENSE",
1919
"devDependencies": {
20-
"pkglint": "^0.6.0"
20+
"pkglint": "^0.7.0"
2121
},
2222
"dependencies": {
23-
"@aws-cdk/resources": "^0.6.0",
23+
"@aws-cdk/resources": "^0.7.0",
2424
"colors": "^1.2.1",
2525
"source-map-support": "^0.5.6"
2626
},

packages/@aws-cdk/cloudfront/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/cloudfront",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "CDK Constructs for AWS CloudFront",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -35,17 +35,17 @@
3535
},
3636
"license": "LicenseRef-LICENSE",
3737
"devDependencies": {
38-
"@aws-cdk/assert": "^0.6.0",
39-
"aws-cdk": "^0.6.0",
38+
"@aws-cdk/assert": "^0.7.0",
39+
"aws-cdk": "^0.7.0",
4040
"aws-sdk": "^2.135.0",
41-
"pkglint": "^0.6.0"
41+
"pkglint": "^0.7.0"
4242
},
4343
"dependencies": {
44-
"@aws-cdk/core": "^0.6.0",
45-
"@aws-cdk/iam": "^0.6.0",
46-
"@aws-cdk/kms": "^0.6.0",
47-
"@aws-cdk/resources": "^0.6.0",
48-
"@aws-cdk/s3": "^0.6.0",
49-
"@aws-cdk/acm": "^0.6.0"
44+
"@aws-cdk/acm": "^0.7.0",
45+
"@aws-cdk/core": "^0.7.0",
46+
"@aws-cdk/iam": "^0.7.0",
47+
"@aws-cdk/kms": "^0.7.0",
48+
"@aws-cdk/resources": "^0.7.0",
49+
"@aws-cdk/s3": "^0.7.0"
5050
}
5151
}

packages/@aws-cdk/cloudtrail/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/cloudtrail",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "CDK Constructs for AWS CloudTrail",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -35,17 +35,17 @@
3535
},
3636
"license": "LicenseRef-LICENSE",
3737
"devDependencies": {
38-
"@aws-cdk/assert": "^0.6.0",
39-
"aws-cdk": "^0.6.0",
38+
"@aws-cdk/assert": "^0.7.0",
39+
"aws-cdk": "^0.7.0",
4040
"aws-sdk": "^2.135.0",
4141
"colors": "^1.2.1",
42-
"pkglint": "^0.6.0"
42+
"pkglint": "^0.7.0"
4343
},
4444
"dependencies": {
45-
"@aws-cdk/core": "^0.6.0",
46-
"@aws-cdk/iam": "^0.6.0",
47-
"@aws-cdk/kms": "^0.6.0",
48-
"@aws-cdk/resources": "^0.6.0",
49-
"@aws-cdk/s3": "^0.6.0"
45+
"@aws-cdk/core": "^0.7.0",
46+
"@aws-cdk/iam": "^0.7.0",
47+
"@aws-cdk/kms": "^0.7.0",
48+
"@aws-cdk/resources": "^0.7.0",
49+
"@aws-cdk/s3": "^0.7.0"
5050
}
5151
}

packages/@aws-cdk/codebuild/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/codebuild",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "CDK Constructs for AWS CodeBuild",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -36,19 +36,19 @@
3636
},
3737
"license": "LicenseRef-LICENSE",
3838
"devDependencies": {
39-
"@aws-cdk/assert": "^0.6.0",
40-
"@aws-cdk/sns": "^0.6.0",
41-
"aws-cdk": "^0.6.0",
39+
"@aws-cdk/assert": "^0.7.0",
40+
"@aws-cdk/sns": "^0.7.0",
41+
"aws-cdk": "^0.7.0",
4242
"aws-sdk": "^2.135.0",
43-
"pkglint": "^0.6.0"
43+
"pkglint": "^0.7.0"
4444
},
4545
"dependencies": {
46-
"@aws-cdk/core": "^0.6.0",
47-
"@aws-cdk/codecommit": "^0.6.0",
48-
"@aws-cdk/events": "^0.6.0",
49-
"@aws-cdk/iam": "^0.6.0",
50-
"@aws-cdk/kms": "^0.6.0",
51-
"@aws-cdk/resources": "^0.6.0",
52-
"@aws-cdk/s3": "^0.6.0"
46+
"@aws-cdk/codecommit": "^0.7.0",
47+
"@aws-cdk/core": "^0.7.0",
48+
"@aws-cdk/events": "^0.7.0",
49+
"@aws-cdk/iam": "^0.7.0",
50+
"@aws-cdk/kms": "^0.7.0",
51+
"@aws-cdk/resources": "^0.7.0",
52+
"@aws-cdk/s3": "^0.7.0"
5353
}
5454
}

0 commit comments

Comments
 (0)