Skip to content

Commit b8e3da4

Browse files
author
Elad Ben-Israel
authored
Merge branch 'master' into benisrae/fix/immutable-role-construct
2 parents 7c9cb6d + 4501b8b commit b8e3da4

173 files changed

Lines changed: 1282 additions & 1110 deletions

File tree

Some content is hidden

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"conventional-changelog-cli": "^2.0.31",
1818
"fs-extra": "^9.0.0",
1919
"jsii-diff": "^1.1.0",
20-
"jsii-pacmak": "^0.22.0",
21-
"jsii-rosetta": "^0.22.0",
20+
"jsii-pacmak": "^1.1.0",
21+
"jsii-rosetta": "^1.1.0",
2222
"lerna": "^3.20.2",
2323
"standard-version": "^7.1.0",
2424
"typescript": "~3.8.3"
@@ -58,4 +58,4 @@
5858
"@aws-cdk/cx-api/semver/**"
5959
]
6060
}
61-
}
61+
}

packages/@aws-cdk/alexa-ask/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@
8787
},
8888
"dependencies": {
8989
"@aws-cdk/core": "0.0.0",
90-
"constructs": "^1.1.2"
90+
"constructs": "^2.0.0"
9191
},
9292
"peerDependencies": {
9393
"@aws-cdk/core": "0.0.0",
94-
"constructs": "^1.1.2"
94+
"constructs": "^2.0.0"
9595
},
9696
"engines": {
9797
"node": ">= 10.3.0"

packages/@aws-cdk/app-delivery/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@aws-cdk/aws-iam": "0.0.0",
4949
"@aws-cdk/core": "0.0.0",
5050
"@aws-cdk/cx-api": "0.0.0",
51-
"constructs": "^1.1.2"
51+
"constructs": "^2.0.0"
5252
},
5353
"devDependencies": {
5454
"@aws-cdk/assert": "0.0.0",
@@ -85,7 +85,7 @@
8585
"@aws-cdk/aws-iam": "0.0.0",
8686
"@aws-cdk/core": "0.0.0",
8787
"@aws-cdk/cx-api": "0.0.0",
88-
"constructs": "^1.1.2"
88+
"constructs": "^2.0.0"
8989
},
9090
"engines": {
9191
"node": ">= 10.3.0"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
"@aws-cdk/cloudformation-diff": "0.0.0",
4040
"@aws-cdk/core": "0.0.0",
4141
"@aws-cdk/cx-api": "0.0.0",
42-
"constructs": "^1.1.2"
42+
"constructs": "^2.0.0"
4343
},
4444
"peerDependencies": {
4545
"@aws-cdk/core": "0.0.0",
4646
"jest": "^24.9.0",
47-
"constructs": "^1.1.2"
47+
"constructs": "^2.0.0"
4848
},
4949
"repository": {
5050
"url": "https://github.com/aws/aws-cdk.git",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@
7979
"@aws-cdk/core": "0.0.0",
8080
"@aws-cdk/cx-api": "0.0.0",
8181
"minimatch": "^3.0.4",
82-
"constructs": "^1.1.2"
82+
"constructs": "^2.0.0"
8383
},
8484
"homepage": "https://github.com/aws/aws-cdk",
8585
"peerDependencies": {
8686
"@aws-cdk/core": "0.0.0",
8787
"@aws-cdk/cx-api": "0.0.0",
88-
"constructs": "^1.1.2"
88+
"constructs": "^2.0.0"
8989
},
9090
"engines": {
9191
"node": ">= 10.3.0"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@
8888
},
8989
"dependencies": {
9090
"@aws-cdk/core": "0.0.0",
91-
"constructs": "^1.1.2"
91+
"constructs": "^2.0.0"
9292
},
9393
"peerDependencies": {
9494
"@aws-cdk/core": "0.0.0",
95-
"constructs": "^1.1.2"
95+
"constructs": "^2.0.0"
9696
},
9797
"engines": {
9898
"node": ">= 10.3.0"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@
8888
},
8989
"dependencies": {
9090
"@aws-cdk/core": "0.0.0",
91-
"constructs": "^1.1.2"
91+
"constructs": "^2.0.0"
9292
},
9393
"peerDependencies": {
9494
"@aws-cdk/core": "0.0.0",
95-
"constructs": "^1.1.2"
95+
"constructs": "^2.0.0"
9696
},
9797
"engines": {
9898
"node": ">= 10.3.0"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@
8787
},
8888
"dependencies": {
8989
"@aws-cdk/core": "0.0.0",
90-
"constructs": "^1.1.2"
90+
"constructs": "^2.0.0"
9191
},
9292
"peerDependencies": {
9393
"@aws-cdk/core": "0.0.0",
94-
"constructs": "^1.1.2"
94+
"constructs": "^2.0.0"
9595
},
9696
"engines": {
9797
"node": ">= 10.3.0"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@
9393
"@aws-cdk/aws-codebuild": "0.0.0",
9494
"@aws-cdk/aws-secretsmanager": "0.0.0",
9595
"@aws-cdk/core": "0.0.0",
96-
"constructs": "^1.1.2"
96+
"constructs": "^2.0.0"
9797
},
9898
"peerDependencies": {
9999
"@aws-cdk/aws-iam": "0.0.0",
100100
"@aws-cdk/aws-kms": "0.0.0",
101101
"@aws-cdk/aws-codebuild": "0.0.0",
102102
"@aws-cdk/aws-secretsmanager": "0.0.0",
103103
"@aws-cdk/core": "0.0.0",
104-
"constructs": "^1.1.2"
104+
"constructs": "^2.0.0"
105105
},
106106
"engines": {
107107
"node": ">= 10.3.0"

packages/@aws-cdk/aws-apigateway/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,8 @@ books.addMethod('GET', new apigateway.HttpIntegration('http://amazon.com'), {
455455
});
456456
```
457457

458+
You can find a full working example [here](test/authorizers/integ.token-authorizer.ts).
459+
458460
By default, the `TokenAuthorizer` looks for the authorization token in the request header with the key 'Authorization'. This can,
459461
however, be modified by changing the `identitySource` property.
460462

@@ -494,6 +496,8 @@ books.addMethod('GET', new apigateway.HttpIntegration('http://amazon.com'), {
494496
});
495497
```
496498

499+
You can find a full working example [here](test/authorizers/integ.request-authorizer.ts).
500+
497501
By default, the `RequestAuthorizer` does not pass any kind of information from the request. This can,
498502
however, be modified by changing the `identitySource` property, and is required when specifying a value for caching.
499503

0 commit comments

Comments
 (0)