-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cloudfront-signer): allow
url
to be optional when using `polic…
…y` (#5926) * feat(cloudfront-signer): `getSignedUrl()`: automatically get url from policy's `Resource` * docs(cloudfront-sign): align types with behavior `url` should be optional in InputWithPolicy * fix(cloudfront-signer): add error catch and solves tsc error * test(cloudfront-signer): update E2E tests Co-authored-by: Atir Nayab <[email protected]> * docs(cloudfront-signer): add examples for policy usage Co-authored-by: Atir Nayab <[email protected]> * docs(cloudfront-sign): better types<=>behavior aligning Co-authored-by: Atir Nayab <[email protected]> * chore(cloudfront-signer): clean up types, error handling --------- Co-authored-by: Atir Nayab <[email protected]> Co-authored-by: George Fu <[email protected]>
- Loading branch information
1 parent
37d500c
commit 92aa194
Showing
3 changed files
with
195 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters