-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aws-s3-deployment): support specifying objects metadata (#4288)
* feat(aws-s3-deployment): support specifying objects metadata objects metadata can now be given as part of a deployment which can be useful for example in setting content-type to text/html for static web files * docs(aws-s3-deployment): section in README for objects metadata * chore(aws-s3-deployment): typo in docs * chore(aws-s3-deployment): full stop in docs * feat(aws-s3-deployment): simplify objects metadata api metadata is now defined per deployment, system-defined metadata helpers * chore(aws-s3-deployment): use date for expires system metadata value * chore(aws-s3-deployment): update metadata docs * chore(aws-s3-deployment): use interface instead of types * chore(aws-s3-deployment): add missing dependency fs * chore(aws-s3-deployment): make objects metadata properties readonly * feat(aws-s3-deployment): flatten metadata types, provide access to all available system metadata * chore(aws-s3-deployment): fix builds errors * chore(aws-s3-deployment): public and private are reserved words so use setPublic and setPrivate instead of CacheControl * chore(aws-s3-deployment): add s-max-age to cache-control * chore(aws-s3-deployment): fix style issues * chore(aws-s3-deployment): fix style issues * chore(aws-s3-deployment): fix style issues * chore(aws-s3-deployment): fix whitespace * chore(aws-s3-deployment): better docs for optional metadata properties * chore(aws-s3-deployment): fix whitespace issue * chore(aws-s3-deployment): stricter test for metadata * chore(aws-s3-deployment): import order in test * chore(aws-s3-deployment): import order in test * chore(aws-s3-deployment): update docs, increase test coverage * chore(aws-s3-deployment): add all system-defined metadata keys to README * fix(aws-s3-deployment): handle expires system metadata key * chore(aws-s3-deployment): style fixes * chore(aws-s3-deployment): add keys to metadata test * chore(aws-s3-deployment): docs for metadata classes/enums, change userMetadata to metadata for consistency with aws cli * chore(aws-s3-deployment): re-run integration tests * chore(aws-s3-deployment): fix name of metadata key in test * chore(aws-s3-deployment): shorten comment * chore(aws-s3-deployment): update output from integration tests * chore(aws-s3-deployment): remove trailing whitespace
- Loading branch information
1 parent
be0d2c6
commit 63cb2da
Showing
8 changed files
with
352 additions
and
37 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
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
Oops, something went wrong.