Skip to content

Commit

Permalink
docs(cli): update grammar and spelling mistakes in readme.md (aws#22355)
Browse files Browse the repository at this point in the history
Updating some grammar and spelling mistakes.


----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
prasanthlouis authored Oct 5, 2022
1 parent e9dd1ab commit b342566
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/aws-cdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,19 +336,19 @@ The `progress` key can also be specified as a user setting (`~/.cdk.json`)

#### CloudFormation Change Sets vs direct stack updates

By default CDK will create a CloudFormation change with the changes that will
be deployed, and then executes it. This behavior can be controlled with the
By default, CDK creates a CloudFormation change set with the changes that will
be deployed and then executes it. This behavior can be controlled with the
`--method` parameter:

- `--method=change-set` (default): create and execute the change set.
- `--method=prepare-change-set`: create teh change set but don't execute it.
- `--method=prepare-change-set`: create the change set but don't execute it.
This is useful if you have external tools that will inspect the change set or
you have an approval process for change sets.
- `--method=direct`: do not create a change set but apply the change immediately.
This is typically a bit faster than creating a change set, but it loses
the progress information.

To have deploy faster without using change sets:
To deploy faster without using change sets:

```console
$ cdk deploy --method=direct
Expand Down

0 comments on commit b342566

Please sign in to comment.