You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a detailed walkthrough, see the [tutorial](https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html#hello_world_tutorial) in the AWS CDK [Developer Guide](https://docs.aws.amazon.com/cdk/latest/guide/home.html).
80
79
81
80
### At a glance
81
+
82
82
Install or update the [AWS CDK CLI] from npm (requires [Node.js ≥ 14.15.0](https://nodejs.org/download/release/latest-v14.x/)). We recommend using a version in [Active LTS](https://nodejs.org/en/about/releases/)
83
83
84
-
```console
84
+
```sh
85
85
npm i -g aws-cdk
86
86
```
87
87
88
88
(See [Manual Installation](./MANUAL_INSTALLATION.md) for installing the CDK from a signed .zip file).
89
89
90
90
Initialize a project:
91
91
92
-
```console
92
+
```sh
93
93
mkdir hello-cdk
94
94
cd hello-cdk
95
95
cdk init sample-app --language=typescript
@@ -115,15 +115,15 @@ export class HelloCdkStack extends cdk.Stack {
115
115
116
116
Deploy this to your account:
117
117
118
-
```console
118
+
```sh
119
119
cdk deploy
120
120
```
121
121
122
122
Use the `cdk` command-line toolkit to interact with your project:
123
123
124
-
*`cdk deploy`: deploys your app into an AWS account
125
-
*`cdk synth`: synthesizes an AWS CloudFormation template for your app
126
-
*`cdk diff`: compares your app with the deployed stack
124
+
*`cdk deploy`: deploys your app into an AWS account
125
+
*`cdk synth`: synthesizes an AWS CloudFormation template for your app
126
+
*`cdk diff`: compares your app with the deployed stack
127
127
128
128
## Getting Help
129
129
@@ -132,6 +132,7 @@ The best way to interact with our team is through GitHub. You can open an [issue
132
132
If you have a support plan with AWS Support, you can also create a new [support case](https://console.aws.amazon.com/support/home#/).
133
133
134
134
You may also find help on these community resources:
135
+
135
136
* Look through the [API Reference](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-construct-library.html) or [Developer Guide](https://docs.aws.amazon.com/cdk/latest/guide)
136
137
* The #aws-cdk Slack channel in [cdk.dev](https://cdk.dev)
137
138
* Ask a question on [Stack Overflow](https://stackoverflow.com/questions/tagged/aws-cdk)
@@ -148,12 +149,13 @@ We welcome community contributions and pull requests. See
148
149
environment and submit code.
149
150
150
151
## Metrics collection
152
+
151
153
This solution collects anonymous operational metrics to help AWS improve the
152
154
quality and features of the CDK. For more information, including how to disable
this capability, please see the [developer guide](https://docs.aws.amazon.com/cdk/latest/guide/cli.html#version_reporting).
155
156
156
157
## More Resources
158
+
157
159
*[CDK Workshop](https://cdkworkshop.com/)
158
160
*[Construct Hub](https://constructs.dev) - Find and use open-source Cloud Development Kit (CDK) libraries
159
161
* Best Practices
@@ -165,14 +167,13 @@ this capability, please see the
165
167
***[CDK Construction Zone](https://www.twitch.tv/collections/9kCOGphNZBYVdA)** - A Twitch live coding series hosted by the CDK team, season one episodes:
166
168
* Triggers: Join us as we implement [Triggers](https://github.com/aws/aws-cdk-rfcs/issues/71), a Construct for configuring deploy time actions. Episodes 1-3:
0 commit comments