cdk-app-cli 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Extra configuration options available via environment variables:
|
|
|
24
24
|
## 🚀 Getting Started
|
|
25
25
|
|
|
26
26
|
Create a [CDK app](https://www.npmjs.com/package/aws-cdk) with a Lambda
|
|
27
|
-
function, and deploy it to your account.
|
|
27
|
+
function, and deploy it to your AWS account.
|
|
28
28
|
|
|
29
29
|
```ts
|
|
30
30
|
const fn = new lambda.Function(this, 'MyLambda', {
|
|
@@ -45,7 +45,7 @@ Commands:
|
|
|
45
45
|
audit-console
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Run a command to instantly access the
|
|
48
|
+
Run a command to instantly access the construct in the AWS console:
|
|
49
49
|
|
|
50
50
|
```
|
|
51
51
|
$ cdk-app MyLambda visit-console
|
|
@@ -62,9 +62,12 @@ $ cdk-app MyLambda describe
|
|
|
62
62
|
...
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
Any extra arguments you pass will get automatically passed through to the
|
|
65
|
+
Any extra arguments you pass will get automatically passed through to the
|
|
66
|
+
underlying command.
|
|
66
67
|
|
|
67
|
-
You can
|
|
68
|
+
You can add your own commands by defining a JSON or YAML file in your CDK app
|
|
69
|
+
named `construct-commmands`. For example, here we define some commands that use
|
|
70
|
+
the [awslogs](https://github.com/jorgebastida/awslogs) CLI:
|
|
68
71
|
|
|
69
72
|
```yaml
|
|
70
73
|
# construct-commands.yml
|