Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cognito): identity pools #16190

Merged
merged 196 commits into from
Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
1aa3425
Add Identity Pool construct
smguggen Aug 16, 2021
4dba4bb
Bug fixes
smguggen Aug 16, 2021
a6acecf
Bug fixes
smguggen Aug 16, 2021
f8d08e7
Formatting
smguggen Aug 16, 2021
fef36fc
Add construct methods
smguggen Aug 17, 2021
ce57950
Remove flat
smguggen Aug 17, 2021
7b27b2b
Fix issues
smguggen Aug 17, 2021
0ebe323
Add first unit test
smguggen Aug 18, 2021
cb172de
Test user pools
smguggen Aug 21, 2021
8be14a1
Add user pool unit tests
smguggen Aug 21, 2021
c0a0b1e
Test openid and saml
smguggen Aug 21, 2021
9a0be08
Add custom provider tests
smguggen Aug 21, 2021
4f4019a
Add unit tests for streams, events, push sync
smguggen Aug 21, 2021
4e03f43
Add Role Mapping unit tests
smguggen Aug 21, 2021
3adb6fb
Add role mapping unit tests
smguggen Aug 21, 2021
6a12d08
Add integration test for identity pool
smguggen Aug 21, 2021
2f36b50
Add to README
smguggen Aug 21, 2021
20c2350
Add more to README
smguggen Aug 22, 2021
d683585
Reformat README
smguggen Aug 22, 2021
8fedf01
Reformat README
smguggen Aug 22, 2021
eb18aee
Update README
smguggen Aug 22, 2021
af156fc
Updated expected template for integration test
smguggen Aug 22, 2021
b826910
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Aug 23, 2021
ab514b2
Update integration tests
smguggen Aug 24, 2021
5409870
add comcalvi to mergigy
comcalvi Aug 17, 2021
e05b3e6
chore(deps): bump tar from 4.4.13 to 4.4.16 (#15991)
dependabot[bot] Aug 18, 2021
4767b67
chore(deps-dev): bump jszip from 3.6.0 to 3.7.0 (#15990)
dependabot[bot] Aug 18, 2021
2131e76
fix(appsync): addSubscription only allows for field type (#16097)
BryanPan342 Aug 18, 2021
7a5619b
chore(deps): bump tar from 6.1.0 to 6.1.8 (#16109)
BenChaimberg Aug 18, 2021
4091527
feat(cfnspec): cloudformation spec v39.10.0 (#16114)
aws-cdk-automation Aug 18, 2021
dac4009
fix(cli): 'deploy' and 'diff' silently does nothing when given unknow…
kaizencc Aug 18, 2021
85586e4
feat(aws-stepfunctions): add support to heartbeat error inside catch …
diegotry Aug 18, 2021
f25668e
transfered ownership of autoscaling to @comcalvi (#16119)
comcalvi Aug 18, 2021
626b646
revert(cli): 'deploy' and 'diff' silently does nothing when given unk…
kaizencc Aug 19, 2021
457908a
fix(cli): Python init template does not work in directory with '-' (#…
Pearcekieser Aug 19, 2021
5e6cd04
feat(s3-deployment): exclude and include filters (#16054)
davidtucker Aug 19, 2021
cfb1c56
fix(cli): unknown command pytest in build container fails integration…
BenChaimberg Aug 19, 2021
65d2a42
docs(apigateway): @see tag doesn't work with the @deprecated tag in d…
mprencipe Aug 19, 2021
ca0a387
docs(ecs): Fix ecs readme sample (#16058)
clarencetw Aug 19, 2021
f8fecb0
docs(eks): change serviceAccount variable name (#16090)
Aug 19, 2021
838f1a2
chore: added links to the relevant aws cdk workshop tutorials in samp…
damogallagher Aug 19, 2021
5ee1033
chore(eks): bad indent in kubectl apply handler (#16106)
chauncey-garrett Aug 20, 2021
a0625c5
chore(appsync): Correct VTL for aurora Serverless (#15874)
liuqiaowei512 Aug 20, 2021
31ffe1f
fix: KubectlHandler - insecure kubeconfig warning (#16063)
mrsiejas Aug 20, 2021
d0f6c20
# This is a combination of 7 commits.
smguggen Aug 16, 2021
78597c9
Add Identity Pool construct
smguggen Aug 18, 2021
4bb6b96
Merge branch 'master' of https://github.com/smguggen/aws-cdk into ide…
smguggen Aug 24, 2021
cfee53d
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Aug 24, 2021
07e4b34
Merge branch 'master' into identity-pool
smguggen Aug 24, 2021
d9b3d57
Remove old file
smguggen Aug 24, 2021
c15919e
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Aug 24, 2021
c621da8
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Sep 15, 2021
697011d
Update ReadMe
smguggen Sep 15, 2021
06ca9a6
Update authentication providers
smguggen Sep 15, 2021
bcb2ae7
Configure default authenticated and unauthenticated roles
smguggen Sep 15, 2021
4a2bb00
Update ReadMe
smguggen Sep 15, 2021
3e1575a
Updated build errors
smguggen Sep 15, 2021
9e83b2b
Update ReadMe to reflect changes
smguggen Sep 15, 2021
84e181a
Update ReadMe to fix links
smguggen Sep 15, 2021
0cf296b
Reword TOC
smguggen Sep 15, 2021
8ee21e0
Reword TOC
smguggen Sep 15, 2021
730ee02
Update unit test
smguggen Sep 15, 2021
495077a
Update default Roles
smguggen Sep 15, 2021
e2b0157
Fix minimal setup test
smguggen Sep 15, 2021
cad4e0d
Finish updating unit and integ tests
smguggen Sep 15, 2021
9948a44
Change wording in Readme
smguggen Sep 15, 2021
c032fc3
Update Readme
smguggen Sep 15, 2021
647c466
Merge branch 'master' into identity-pool
smguggen Sep 16, 2021
f9c2a1b
Simplify auth permissions
smguggen Sep 16, 2021
5477a59
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Sep 16, 2021
a4584e8
Fix build issues
smguggen Sep 16, 2021
5aff3ae
Fix unit tests
smguggen Sep 16, 2021
c2c7e76
Finish updating unit tests
smguggen Sep 16, 2021
4e6ce6b
Merge branch 'master' into identity-pool
smguggen Sep 16, 2021
7de179f
Update packages/@aws-cdk/aws-cognito/README.md
smguggen Sep 17, 2021
29714be
Update packages/@aws-cdk/aws-cognito/README.md
smguggen Sep 17, 2021
dd5e67a
Update packages/@aws-cdk/aws-cognito/README.md
smguggen Sep 17, 2021
36d0bae
Update packages/@aws-cdk/aws-cognito/README.md
smguggen Sep 17, 2021
79898a0
Add grant model
smguggen Sep 18, 2021
f6a76c0
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Sep 18, 2021
1294e10
Update formatting and tests
smguggen Sep 18, 2021
bc20639
Add Todo to update readme so it's clear that it's currently out of sync
smguggen Sep 18, 2021
ef7937e
Update ReadMe
smguggen Sep 19, 2021
967dab2
Add Role Attachment L2 Construct
smguggen Sep 19, 2021
447951c
Fix formatting
smguggen Sep 19, 2021
2c803fa
Change Default Role descriptions
smguggen Sep 19, 2021
5b51aef
Update unit and integration tests
smguggen Sep 19, 2021
ab17b51
Add IdentityPoolRoleAttachment to README
smguggen Sep 19, 2021
6e06228
Merge branch 'master' into identity-pool
smguggen Sep 23, 2021
797b943
Move Role Attachments
smguggen Sep 28, 2021
360896d
Update grant model
smguggen Sep 29, 2021
8a88e90
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Sep 29, 2021
48121ed
Fix build errors
smguggen Sep 29, 2021
84c4649
Merge branch 'master' into identity-pool
smguggen Sep 29, 2021
8ce4a14
Update tests
smguggen Sep 29, 2021
7c49e78
Merge branch 'master' into identity-pool
smguggen Sep 29, 2021
ade2b31
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Sep 29, 2021
1d08c84
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Sep 29, 2021
c599c23
Update README
smguggen Sep 30, 2021
05c6e91
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Sep 30, 2021
fa4e995
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Sep 30, 2021
5249541
Fix READEME formatting
smguggen Sep 30, 2021
1831e5f
Merge branch 'master' into identity-pool
smguggen Sep 30, 2021
975e1b7
Merge branch 'master' into identity-pool
smguggen Oct 1, 2021
7981352
Make UserPoolAuthenticationProvider implement DependableTrait
smguggen Oct 6, 2021
650e054
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Oct 6, 2021
e45dafb
Roll back previous changes
smguggen Oct 6, 2021
f85e78d
Set UserPoolAuthenticationProvider to implement IDependable
smguggen Oct 6, 2021
a1fc837
Format changes
smguggen Oct 6, 2021
85e6313
Merge branch 'master' into identity-pool
smguggen Oct 9, 2021
75f224d
Merge branch 'master' into identity-pool
smguggen Oct 11, 2021
12c6126
Merge branch 'master' into identity-pool
smguggen Oct 13, 2021
0bea4d2
Merge branch 'master' into identity-pool
smguggen Oct 21, 2021
74ba51d
Merge branch 'master' into identity-pool
smguggen Nov 3, 2021
19ddcf5
Merge branch 'master' into identity-pool
smguggen Nov 16, 2021
52366fa
Merge branch 'master' into identity-pool
smguggen Nov 29, 2021
7d90bb8
Merge branch 'master' into identity-pool
smguggen Dec 10, 2021
24e28bd
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Dec 15, 2021
2004ef7
Set up cognito-identitypool
smguggen Dec 15, 2021
45e2434
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk
smguggen Dec 16, 2021
128951f
Remove idp tests from aws-cognito
smguggen Dec 17, 2021
213fdf0
Update identity pool to build
smguggen Dec 17, 2021
7a1aea9
Merge branch 'master' into identity-pool
smguggen Dec 17, 2021
f8e7160
Add punycode notice
smguggen Dec 17, 2021
95c5de1
Add cognito-identitypool as dependency
smguggen Dec 17, 2021
1160d4d
Merge branch 'master' into identity-pool
smguggen Dec 17, 2021
898ff57
Add to cdk lib
smguggen Dec 18, 2021
3c63e84
Merge branch 'master' into identity-pool
smguggen Dec 18, 2021
e52ea6a
Add pkg to monocdk
smguggen Dec 18, 2021
a7f5a03
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Dec 18, 2021
6368fae
Merge branch 'master' into identity-pool
smguggen Dec 20, 2021
cf40de0
Remove from other packages
smguggen Dec 20, 2021
e9c812d
Update generated source
smguggen Dec 20, 2021
16ca9f3
Fix build issues
smguggen Dec 21, 2021
1d4c64b
Merge branch 'master' into identity-pool
smguggen Dec 21, 2021
d3060b3
Add new pkg dependencies
smguggen Dec 21, 2021
d75896d
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Dec 21, 2021
642a7a6
Add cdk-lib dependency
smguggen Dec 21, 2021
b36b0c8
Fix generated imports
smguggen Dec 21, 2021
823f863
git pushMerge branch 'master' of https://github.com/aws/aws-cdk into …
smguggen Dec 21, 2021
148787a
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool.ts
smguggen Dec 23, 2021
1324380
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool.ts
smguggen Dec 23, 2021
bdcfe18
Fix issues
smguggen Dec 23, 2021
a124f65
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Dec 23, 2021
549135d
Fix issues
smguggen Dec 23, 2021
e5dd9c2
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool.ts
smguggen Dec 23, 2021
9e9b90a
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-ro…
smguggen Dec 23, 2021
81f9f02
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Dec 23, 2021
b2ddc6a
Fix issues
smguggen Dec 23, 2021
6fb3c31
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool.ts
smguggen Dec 23, 2021
21b44c2
Fix issues
smguggen Dec 23, 2021
9a74725
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool.ts
smguggen Dec 23, 2021
c0e0cc6
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Dec 23, 2021
e0fc3db
Fix tests
smguggen Dec 23, 2021
9d9301f
Merge branch 'master' into identity-pool
smguggen Dec 23, 2021
e2da347
Fix @default roles message
smguggen Dec 23, 2021
1485e23
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Dec 23, 2021
2cee518
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-ro…
smguggen Dec 23, 2021
2897cc8
Fix error in ReadMe
smguggen Dec 23, 2021
304fcec
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Dec 23, 2021
6a3907d
Rollback @default roles message
smguggen Dec 23, 2021
11107c3
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool.ts
smguggen Dec 23, 2021
426d0f4
Update tests
smguggen Dec 23, 2021
cc5c03e
Merge branch 'master' into identity-pool
smguggen Dec 24, 2021
8abc3a8
Merge branch 'master' into identity-pool
smguggen Dec 27, 2021
bf4a65a
Bump up jest dependency
smguggen Dec 27, 2021
9aca2dc
Merge branch 'master' into identity-pool
smguggen Dec 27, 2021
fcc3b1e
Merge branch 'master' into identity-pool
smguggen Dec 28, 2021
c3d029b
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Dec 30, 2021
9d2ac54
Update README
smguggen Dec 30, 2021
a46be81
Fix README formatting
smguggen Dec 30, 2021
a488942
Make README warning bold
smguggen Dec 30, 2021
c4b8c90
Update packages/@aws-cdk/aws-cognito-identitypool/README.md
smguggen Dec 30, 2021
b45393f
Update packages/@aws-cdk/aws-cognito-identitypool/README.md
smguggen Dec 30, 2021
fcec657
Add bind method to User Pool Authentication Provider
smguggen Dec 30, 2021
2710699
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Dec 30, 2021
460e3f9
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Dec 30, 2021
7e5847d
Format changes
smguggen Dec 30, 2021
cbd3c08
Update tests
smguggen Dec 30, 2021
baf5cbb
Add cognitoidentityproviders to integration test
smguggen Jan 6, 2022
672cf8d
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Jan 6, 2022
6d66a84
Fix bug in integ
smguggen Jan 6, 2022
099c63a
Fix persistent identity provider issue
smguggen Jan 8, 2022
b1c0683
Merge branch 'master' of https://github.com/aws/aws-cdk into identity…
smguggen Jan 13, 2022
15791d3
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-us…
smguggen Jan 13, 2022
740f20f
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-us…
smguggen Jan 13, 2022
5fbc9dd
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-us…
smguggen Jan 13, 2022
ec08281
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-us…
smguggen Jan 13, 2022
a46cc89
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-us…
smguggen Jan 13, 2022
e9fccd2
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-us…
smguggen Jan 13, 2022
36fd50a
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Jan 13, 2022
9972081
Update packages/@aws-cdk/aws-cognito-identitypool/lib/identitypool-us…
smguggen Jan 13, 2022
b226de5
Update tests
smguggen Jan 13, 2022
03ddbcd
Merge branch 'identity-pool' of https://github.com/smguggen/aws-cdk i…
smguggen Jan 13, 2022
41d263e
Update yarn.lock
smguggen Jan 13, 2022
c3e9e6c
Merge branch 'master' into identity-pool
mergify[bot] Jan 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cognito-identitypool/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
19 changes: 19 additions & 0 deletions packages/@aws-cdk/aws-cognito-identitypool/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
*.js
*.js.map
*.d.ts
tsconfig.json
node_modules
*.generated.ts
dist
.jsii

.LAST_BUILD
.nyc_output
coverage
nyc.config.js
.LAST_PACKAGE
*.snk
!.eslintrc.js
!jest.config.js

junit.xml
28 changes: 28 additions & 0 deletions packages/@aws-cdk/aws-cognito-identitypool/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Don't include original .ts files when doing `npm pack`
*.ts
!*.d.ts
coverage
.nyc_output
*.tgz

dist
.LAST_PACKAGE
.LAST_BUILD
!*.js

# Include .jsii
!.jsii

*.snk

*.tsbuildinfo

tsconfig.json
.eslintrc.js
jest.config.js

# exclude cdk artifacts
**/cdk.out
junit.xml
test/
!*.lit.ts
201 changes: 201 additions & 0 deletions packages/@aws-cdk/aws-cognito-identitypool/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-cognito-identitypool/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
AWS Cloud Development Kit (AWS CDK)
Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Loading