Skip to content

Commit cfc993a

Browse files
authored
update doc with CDK v2 (#278)
Updated the documentation for CDK using v2 instead of v1
1 parent b6183e3 commit cfc993a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README-DEPLOY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ You can also integrate the SAR app in your existing CloudFormation stacks - chec
8080
1. If you already have a CDK project you can include the following to use the [sam module](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-sam-readme.html):
8181

8282
```typescript
83-
import sam = require('@aws-cdk/aws-sam');
83+
import * as sam from 'aws-cdk-lib/aws-sam';
8484
8585
new sam.CfnApplication(this, 'powerTuner', {
8686
location: {

0 commit comments

Comments
 (0)