{"_id":"@sls-next/aws-s3","_rev":"59-96159221b31166240d764e9fbdeded89","name":"@sls-next/aws-s3","dist-tags":{"alpha":"3.7.0-alpha.12","latest":"3.7.0"},"versions":{"3.2.0-alpha.10":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.10","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^15.12.5","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"aec0f05f5b9f274d9a848b76d4964015ebf4c2f6","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.10","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-gQ5ku1s3GthOu9dlX2AS1GZbw8oj4xElwNr/Ak3ttYbcBwcWp4yjSA0OQHpvu0s1UCyktNnh6rVzvJ4lmRy70Q==","shasum":"196bcafde8973a5cc84dc48770fa80b8115cfcfd","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.10.tgz","fileCount":19,"unpackedSize":51430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg21MCCRA9TVsSAnZWagAAr88P/09iIjIkgHYzDFT56N5J\nHvk+CD5/kHvhJVStAtTAjO+hqe1BtQGOlYg07yE3x3Dp+PgxIzQd7MMPf3vs\ngmAu4cOXbhviDgx9y7hsaXr+r2Zuxd1axWiFXZ/2jDXmxpFGscpF3e5cl6mY\nYWMyGP1oiGuodeIIKcbN5mj2CvZOD6Bcbg0DLZJbvnMsk5irUnApqMTogKB1\nFYW2T03MBikq+0X1TeronQZ7anYZH1D268RbBGqb9iIlXbjW5lqbW+n/2Ga+\nSOv8/U3kLJf2MqM/pylPl1fNIJbd+NcnHICIcfw/Dqca5fdqo2hO/DtXUHdL\n/1C9vARt7FlipwoOsBy7/aeyt5RJz2C6U6JdwQtKG00xI4YzSoEv1FbHqctd\nMVMN5pavVxkJQRR6mx5u1eQBKs63Hhe7tpi4DfpZIS0H5wF3VOC7WEqQCaGw\nz2nV4VzRjxwKuc77lgPRkr4NDJXUaKt7AA9ClydRVJSWTL3b52KgIg3buDPF\nN5zwpMMTEZSF1i4YnD5xJu8nvXd7ENAQJZKfc2qXNdeo7jGfOOTf6N3TO8Hv\nVPYnA+K9FEB+ahuqD+WVEPzdg2eqmU2pCo9XPXfsXgnhpUDfXBXuSO9kGH2F\nJ7RkbSQ3OCQEpueRi/5wtrVaCW0DB/5jhBxOWtElr1QPxoabYXMZhzYIR8dn\n3v++\r\n=pqHm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFyFeBiGNuF01vlQdhDiYzw8HQJgBzHJN8j/qW1f3Rf9AiA7jBjWIiLXWrnMEywvwxEXVfJ9M45M9azXdEYC4OuMLg=="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.10_1624986370131_0.27671525989805756"},"_hasShrinkwrap":false},"3.2.0-alpha.12":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.12","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^15.12.5","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"dfeb45830a08a5e751b3b0cd56fca73d7a623b9a","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.12","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-6GDY39LLcOlPt1P43VEof4+aqHHzj3tgPaORVTRIAYTznU+tTKbpncZKW/WVb++aNHG1GWvR6seNc4gDlQWz5Q==","shasum":"b3ede85725abdaadaeb8f68e8cbb90bd2515759a","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.12.tgz","fileCount":19,"unpackedSize":51620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3UQ4CRA9TVsSAnZWagAAwzcQAJgWLn1m49SUqsAZzFFa\nI8Rv4Ot+NhJHhlcYVL9DGaU1/A8SoMmJB8HuiO1mkZbun15Fc4JVmxjZH9fb\nKtFCUIlZF3sI8Zac6a5uSCAfHeoELrnbn3WFM3lPSd7Nod/39wdxAngYGM5C\nVAqDn2x9aK0xaSGKtksarIEFeoFGp7lVBBjq94QxX9snyCn2+KVxT3bH3esJ\nyqZ+/LGN+tUP3avVa/J8MkQDjm0hkhzPNzjI/QQOp6d7tnnYdMCLp9jxodBZ\nmBlUlg5D8wGk+6C6VEP8GBn+is/fFMsAXgFwwdqhO+/5tFpO3C/CYee+2BvP\nxTd2rF1FD9Kyp8m/czPZRHNJl0vx83solb+PhG761IF2IQ8clq3RqTyx37gH\ndRp+OFfDICzvp4GCmE68uJhHwWBO6o2SsSnXsmf5lNu+1Pg2+SNah5pVPFfk\nmpK+LkaWkMV5j8IvDUFFupseRYuYvBGDmmA+CGwJO+TIAIpQHMeLogoO6Kgt\nEsrPY4SUG+YKrIEbj96Xnau0BYc3W2ohSpXbgRJjaTQnlKLqR/fUVlMOlkGH\nx48aIs0X+mk0lvHV3eUfm4qdKk+hgcOo4sf0uaNFb8HSkk8T8Zm0v/09zJDe\nJaYb6k9EWJ2dmDvMiZKWxpQtsHABVkhyUw9eD0lol4MrpN/BTOFfOXqMtn50\nwZxq\r\n=SJkh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjQXz/n7kTq6aZ+qoiV5W78P6guobj4S7OF/fnmEjK8QIgB0YP21lZ5haaIq70lCpZ4pgs5/aP33zM77pSxegOdg4="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.12_1625113655691_0.4022563024339212"},"_hasShrinkwrap":false},"3.2.0-alpha.13":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.13","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^15.12.5","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"49b56a3ec6ab17c8fd910ecc9d5ed70033f8ab3a","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.13","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-92KtQNCoZskPoLS9mB9X1c/wsadnbUQihoegeSYqJTjDDM8o+QItBspIrUKEEF4oInGz9LXWaVmqx5ePIupJsQ==","shasum":"336a6d7c946248b4af7d0b6b96eb60f80768e4e2","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.13.tgz","fileCount":19,"unpackedSize":51810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3pzLCRA9TVsSAnZWagAA9zEP/i3fnvuM1kryBuNkSXFt\n57Wk5OuXkWVNbA2UlmGcWuUgUlS6tuX/W75onWRJn7BimySD/GH7H5L3JAzW\nksefvh4t+ElNYgtWrAXJAxxk/HtMWx57XjzllYWx69zjTZ1y+D6E6ap8tyRJ\nsQ/JvkaFnfEy9FpwEoerNvEMFEFcK/5ZiRzKFCd5uabIR7fzYgB8G3E+7o/G\nI31Mp0KXH08SsJ5GXUN51E2bjgOowKT7J/MV4Ma7RnPQc1DBX/qctv7ACeXl\nza7RyIFJQFK1vJ2JubjyMGKXYf76O8ubhNGj7BeJac5I+2e//JmK2EtmxDor\na/qIWED3eDC7iOxOv7DIqDJNCrSd15Cjc3RdTg329k9s5x+h6Pyi0cy+ltp0\nYSiF2WQvQG5oxwbkkYN8rP5tfICaW3QSjB1F+cT+laaxxARUAAFeZDyMHX7z\nBnf+4DnVhhCFN8Iejgr1WZEh8Nab3fmOFX++SU41O5HATKaLgPft8Dy6iaEM\ntMNlAygxc/v9SPWtrDOLm7W34WIXiOlDrq1Ikq7Bo06F+lA4xP08bB2mdiML\nClzvRK+QxGTXAwDRNfoFgCyAF3ac7GS6ZJiQQfpSunX9piv7zqzPIiImAxAp\nDFVTliGa0gsgjP51VVs432uZvnYgaFNas/BFfry1FrD8sAoogjT9ySwj3Kst\nCDfC\r\n=n44y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKf5yDZyNDvEl1nGnYqv7F+262ROVM4Xpg7iXk+Y/iQQIgX1DEQ/AOmQc/Nzm6hzc/D5pUPmUU5fJDFYLIfsp/K2o="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.13_1625201867140_0.5351934730709593"},"_hasShrinkwrap":false},"3.2.0-alpha.17":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.17","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"49c32f644e94de37b0018b118bd2b00c320354c1","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.17","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-+WrJA+jlU8dP4LSzhfDgP1/Z3k+PX/OvX9TQEjgFC/fCMpjLORF+Rggn5swFCn4BM/bv+aFRNNycmw0/C3FRxQ==","shasum":"3c0308d550021c8f367f6b6ed1597d4989074552","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.17.tgz","fileCount":19,"unpackedSize":51999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5e26CRA9TVsSAnZWagAA4jAP/0WH+IFyCe5W9bNU+Itp\nQpxGEa0hOTgtLWlo9/qlQ3s3jb5YK6f5wwmGrRytNb+u3fgtQ8JPfz8f6xJy\noDPqHXuaqBfNyBBOzW+QodSbRdBoj3vthjARVpTdKC0kYH8WEcmWhrZvJBah\n+VummkCrsP2xGHerRNxZjE5euyTJV/4kqgkG1n0Hqe6qREuMw66ahAS71a1S\nn+oaDwBxpDZCQGVXQyt4ZES39KCvKOpSTaPV20Y1Wbt0poFLj2IEM+oQBPGM\nTuFcoN8irhEUSeBRaHiorWJSw8fkc1U0NFI6Qq2aQIQ+93UpSMcnDQxJ2b8w\nFIrG02EzP11MkilQBxOMjbWi9gYxP7cTZI0Rhx09D2sj2fQNs9QUFeS5hsKz\nSHpYP/9Yg1xNy8+v494jd532DhrK1vpaLOnFjkRp0P6RSXKwXgvLmgcVbLQF\ncpoxGZ40eyfMRxPpmKWaA8A8aTPETg93BT2yxKHBrMwwsOeRrn1WobMSSZ8Z\n3uzThbAwcyQ5YVVZONGjB/tw3O2UrQ4O4fT8XbWUkm0GugVs1sy04vXIuV4g\n6XQ8WyexhvfOlqcZ32i/utzJ170HXXNB5k0aFnoXa/28R1QrDymSzFSxp5eg\nINDfrBOV7PmX4UpdRhwONPtC4FA/BLskz/3lLtPVdWo0XdFZs6mBRpfpWvoX\nQUPV\r\n=zxPy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyPeiyyJ5PbEeDJjgW5NID7FMxJPs26nBPl9hLtIwCFAiEA6oY50E2LZMFjsps7u3Cc/J8Gvh15SapzoMEPyBOd9/w="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.17_1625681338066_0.3992381586679814"},"_hasShrinkwrap":false},"3.2.0-alpha.18":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.18","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"daefaf2a27777c8101dea188fb49438fcc206820","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.18","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-nLzT7gPfTNiQGJPbwjYAtt9YYARo4LcmPv+lENCbZQuAlvsCcrzx8sskJsOy9oBEkXZeN0VNftMwUjfBYSo/sw==","shasum":"66fd84d187764f55850393257a13bb299284b313","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.18.tgz","fileCount":19,"unpackedSize":52189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5zIRCRA9TVsSAnZWagAAyKwQAIyKF/IzgGQcxXUOFHmA\nGFlDW1IikW058eSyjwy7plp2fOp+kuULRJ1t4/AyLYxp0bN/wdbhHhUo1+g8\n4FtWj11BVCXcOaZv4CMp+9JM9fi5VwEWEubCO10pLQKBkfZP4cNPIMtWRi7y\npezl2BoAWy/UpUm/MDVLJAnDztyJJovko1fbactuRTP9ulMYTZEEdsAV9NPz\nkucolrmz3e10xYBN4WTFnhiKZjO96TpYC17L/8c2u3l7F5tNrYtD2dm/DUY2\nKgFUCcTVzQA2EDOBpdJRM406TQgtKZwRYrnARRIsVJeHnRJB9Pv6gVnBxoT+\nHXBCrXojxiJmEBzEOS1H5F4EnsT4tKE4LOy0SB8cRb1sB/qSh+bR4JQqDE9b\nPBAirD5L8Rqr7J8T1cXd8UXygkGz21dFufE8nLYaeZ7Uk7mM46a6WW3YVO1c\naWjbxFufxQPA7KV8xmPePbyWumQTYoI9P9oB6Z3nV7AqlRw1DMmLre1xxFdj\n+aWSNGCSwxARRVyWoJDE8Aa8ErHBF5jQ1Z8nt2FPLf79ZLAyyaQhmPHZxTfQ\nEfGcqazsmYc1TLgauO+hp7lSp9Qj2jtx6rMQWKbVGhyo+OUBEICpe0elx1UT\nqy8w6ULXK4LRPoBGZgpCqbkKzF+tLQhWAID1RG9lHPwaIo/65RIpTsEEh1fV\n15wx\r\n=od8g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDvhqe1uLolGB0XHWD7UGdBUuWlUrNRh/AsMGfwgYANQIhAMdoR3OAAbD+A57Efm6BZeWTlm+83XNs+jR8JaqxKV/Z"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.18_1625764368797_0.18955825061313125"},"_hasShrinkwrap":false},"3.2.0-alpha.19":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.19","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"e564c0aa50bec285757bd8d7f946994857299321","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.19","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-7GRmPlJhUiFqpTwHMh1hoRfs68wCRvdvFDRhkZWATCahsUqJjoiw4g9OHb53gL8wWNlZh/VsKaHJSz+a7zzNZw==","shasum":"04631b10e15b525bdc2866dcb8aa9286491810af","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.19.tgz","fileCount":19,"unpackedSize":52379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5+R+CRA9TVsSAnZWagAAku4QAJlN2Q3nLG5q44Yo5a0U\n7nNW0ijGOvN/hGU/Yex27NJQA5JT2tE8ENsgCwXpKtX+1nPZgWKkrGnyWn5o\nI1hQI0Fg1zfumFfgA04ZiWUucxu5mJSDyfiZRgSsV/ST6cOy6Z5P79XuGtZj\n5aJGx/xACIFqKjenVMbPcunKaethgDBIIXfIgTq5ZSR4OpUANTMCgVixESNe\nyuTqwxylOA0+JV27Vtk/cDFjW32kmCfScptXFfYmh44FYoppBH8LX+p/bIxM\nZwGalqJ15U8Qp2oSZ417Vnixiz3IK6ZqBeNJrls1luZLwgf/Wvk0vgjIgv+L\nIEQEna02+At3fq59P9dt2oolW5rVk3JSP4KpiKGt7KJSWBqxMN30jZF0RQTi\n01c7lUTQYsNyItXCk48s9wzsf0BhlJgN+SXAzpR9kmhDZGtIrOPJp/6ihiBh\nWi8QRRRhy5DV/A8kNXTjas/jwqqqKBz/5UmdqHOxI65fyfSvkS1fb9b37zoW\nrtlR0vmxYw7fE5uQzgaC47a3Jg4/+UNOrman0Adc1ScxfxMVf1CiVEoCxvZ8\nVIsvdY6wIDW8ZNpXPVoddrzKyGRbgmzBEEelc7X+cVLfWOx0oIZhpFVffgaU\nDNuRmsU7jUoRESW/+sUeljdhDuELmqvj9vCMVian39BbIs2NmWGvG8p4B6HN\ny1Fi\r\n=IU30\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICH7dxy2JaDSRJ7lrmu8Lttn+HW7MOB1RGpKgVogq5kRAiAFkgcgpK9pXN+NevLBsHL1YWeP2V0lqTxaErG0Y5TQng=="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.19_1625810046001_0.18809787039136916"},"_hasShrinkwrap":false},"3.2.0-alpha.21":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.21","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"13807cb3fc2ec375bbe2479176e08a2bd077a2b3","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.21","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-RBOKKq6aii6W62RFJ8+eq3PHZnJ/PQlGzDPLgtdwf3XJmBEUZjr2l2+zAvSGienOM1DyjSJOI5DtI/AzpHwC5A==","shasum":"7f122fd77c0b0d53e2339d0c6f0c89354ad29f40","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.21.tgz","fileCount":19,"unpackedSize":52569,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAHatCRA9TVsSAnZWagAA7oMP/08WwSA4sKK7v8HAtg1N\nXkJXG0mv83JBJLH4Ir/1s9SCTrR420b46qC4Nz/h87qmYrN9fOUPyCVC6sa6\nwpYvJGL3MFkkNz21/cQnqEliIDIkr1G2XlAgzqAD6O03jecBRT9lnoPY9aeq\nqmoaAeufxKwNdC9JIWj3hFchVJcHgyoYtFa5tYMiTMwEC5kp96dZU7jTY1Dr\nX5Eyu/hXlhai0pyO4FyDeWuZQuGGZL+5flnVDDWn9lxSNT2IDIgbAX33GjE0\nJgfGXWwMKPjfC/Z21/ba69oMHDkBVnrPxL7AsxlsBqBRCNkwerg2C8A4omRi\nSvp5yiXEeB4WzdZzlLk1Ge6rWm2uOwqo0DSLf7GmGkawfEFiOMXKAEFOuyCq\nSU3GdDCZDpxQSy4zaa21s/c6t4fV6iYvOpYs55ofaLZ/1N6HZ/06MHapy/XX\naboQnPfeAMkJTNwpTlEraPNZePpjeqidVGLxtcz7StFDeVe1+lVAeVgdAqER\nXHA/qwhcbDFHPgMm6x6uDeNK2RndnArcdWuOpGQB+o7YuGhIagijbKLQtToQ\nt0vNNpuDTDNE5DIOpxApF4DlrRFgpMWk+9todKRqcMvS6zNsyJzkuzHQBoh3\nmpHY8XhRHEAd57O9rt5mcOCdHRvH3ctyQ60rXETdzw7v07E23mvuKVCLXgSw\nfW8Z\r\n=CQDH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQa3moPkpQlEM4J5XN8Nwp+9QL+YF6jcV7fvHTWycjdAiEAjA1fG5w2aPUkY/Hxzj849TNKs0SHYG8Amv6gEXM/rG0="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.21_1627420332954_0.6349713997584683"},"_hasShrinkwrap":false},"3.2.0-alpha.22":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.22","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"15ad295ba4e470449801a9b4e4dfb34b5d9569aa","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.22","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-H/wcj62WAfts2g3+vCEYsp8BmHOsfmD3JCf27zZm+ePEnm19d1DohryrKq+g9z1V1wOu8xne3IyhOIMxVeoFWQ==","shasum":"44ae797d04f6997369d5b7e57da4365ee45b02fa","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.22.tgz","fileCount":19,"unpackedSize":52759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBXvRCRA9TVsSAnZWagAAZlkP/j2262qx88cGS4fkHX1M\njDvm7FNMXYFkmBbfnVgS+a3oimFnaZyL8zS5RaS18jGmi2l4FzcfYbwHu9MU\nLJoEs/s7CJcyuwLwtyo3PLxVhfEDQM+c3E+FAoLHp68eVHsWCJxzxqAzd3I9\nyQ4jZA4p/S4j1CgZfVuEtNPll2DNEssInHdVRdX9Bm0KFRRhtSOY3xj2e04R\nG8WCZqwwqJuXeRv6IfVm1J4pqFfJnEBjnzEljyfOQyOqtCOo1ncGsJ5rqp+J\ntyE++sy4p17UtAO2vHZp2C3htr8VkcwkUn9UWejBeYlsTKj1Kg0R1dG+OZSq\n4IBSp44SDsj36ha8HdcPUKPYOE98J/5KzBWMVGn2PhaB5TYtlJh5QVsFqlJd\nTe/HTHL2+bV4Q8v7HjY5jvmYtuIKOy0o5clg9dgV8repMcp8JBT18l4auq3g\nBCe118ox9Xl6YTr8SEqbOKzbNywHrHUfAoz6A7Q50OIMQBuU0VYLiEOoRpG5\ntWA73h2vBToJO3W2qEbULamFHFX2e4joDVlJW/Naqw9zAjpQ36zTUJD7Ol0z\nz0fDaTTi28WGrUVnyt45AnPD5snbkFVeAj1tpHuiO5+DWqDd2HoewS9z0iwG\ntOwENqLhDf21O+WbpMSGEUgA+x+GHMKlN4MYqRWaZl8f0TdW6eMC27WScinT\nhLx2\r\n=RSJj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBERLr06UsaZknlpK6yVlYpx7QYFhtJUXkboQD6+odrhAiEAtnCsR/tEfqywFfWFiBHbHt+D/od7L8AIoHfbOa0g/c0="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.22_1627749328923_0.7600216060041516"},"_hasShrinkwrap":false},"3.2.0-alpha.25":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.25","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.488.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"e1b7a240068d012bea44c2ffcfa29c835df337b1","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.25","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-Ohhr6J064WWlcf090vaSHv5XC3dMSBM++wkbC5dY7gG1A9HLKiLlQykZqpzemWJ+LMNLd7DcBNC+J1wamlOuXQ==","shasum":"5d31ebece2689c51db926001012c933cbf5836df","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.25.tgz","fileCount":19,"unpackedSize":52949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhB5p7CRA9TVsSAnZWagAAGRcP/iZVQ5Upsr1GxP6eNxSQ\nMtFSQZpmp8aJid27wbWEXryOHO8iFXMqFyrxLK4F9MT70MsVFBg7vduc6TdF\nKRvALLQmLJU0wTzWaJeFolvx27en3HhJ/zYJjKaajk1M3bWHR873+YUGOZD5\nOZY+4O1bsDdb12mGUttP8/sfWNBFR7o2gycY7/Y/AgTv2la470uYNf+WHi9y\nZXr4fBljBARVFP54SF8OjtC5DwJivgOyY8PPQkEINaQHoiZRKlz1Fcsc3F6X\nA+ymA2kjmIooFuXqaYCjMQfCZTc4oK5ksgh9+nacoQWBDlfoJzvszNAAjsd6\naNb5Vd5z9rqgjgai+rnOo2TRX/0PJfRybpimOQXOa7ZS7wt8294yHmQA1bLR\nvZi0A06q1Lh/CY21jwOvbka9QtKI27gg5GbPYQu3F7rcxPLjUeVI9adGg3gc\n+m5NIpUhVAu553ShRj94ho3sw/vmwBg5kkhjCMdpsB3tSNuh+NfiUFWVECYD\n4ALlGG7VHF+ebhTVdCfLk+CEApbbLLB/3sOSTTNZnydftNYnja5nw8zFRogk\nkX6+2Mt9foCbb5Lnz6cxbHHUkw4PNJUzkCpaHdhW7/NH7sEnSXLVcdKtgYO3\n2BTMxFIUPK1xvVhBrn4PwAiiZ8KXfn9KL4sYVN9AYzU4I1wHWbTWmWGcqUS/\nEURm\r\n=H9Au\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6KNkMKV/KQ7u7vNw1J6Yac/xmrms19gQMu5zSA9mkdAIhAKwkauCkPY9mnthSmtd5LjjgO1jnjhjMGI2ote+u1z2J"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.25_1627888251715_0.912092436062165"},"_hasShrinkwrap":false},"3.2.0-alpha.28":{"name":"@sls-next/aws-s3","version":"3.2.0-alpha.28","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.959.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"2cae454124e8761c11c70f18a8be9316428a1cf6","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0-alpha.28","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-ufWKxpDnFAcjNWBO7ujPB3iHnf/LFg4443blX6wyObvdhlhs32vHypkwVxXYPZQdH64ZOrngHxYNWOUYo/RvbQ==","shasum":"3888cb5cdd7dbdaa9d4e9d2cfe233fdab77cadff","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0-alpha.28.tgz","fileCount":19,"unpackedSize":53139,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCMcjCRA9TVsSAnZWagAAYVsP/30wBKU3gKl+sycwdWtr\nd2R576LFrU1QTgoUs4bHZxHDuIIOtmhaYcPei+9WejIU90dH+wJlPx6Yit5o\n2GXD2blCqMFRQhdjRevH5twgrbEvYzEdHtPP7MzAumbduqYisXxoIJBoT4Y+\nIZlWcWOc437eo5nCm9XZxk6f0aYxdlbm695A1IpSyALXkr4fRkvdwiRrHPFh\nsFWkL0lUubpj0j7TcowEuG7Onrb4IxAAyFHeOx8d1M2G0bLXXZgwsiokvk+k\nq872WDYw/OaB0MJZ3XcRQ/vAfHY+SDgEUgkg6CJKUGzrIrZ/tBTvzprq7ypE\nDphn+GpkSbBUt0CU63jtb00aAZtRv7RKFbFsva84J34OcRznZtMuhiJK5Kf7\nYTj4VrorhZOJ0eMRuFiOXqe+xoGtFAcXWK4Z3uvONI2BDG9ocql7hW3ecLtw\n/gDBkX16CqV60+Fp9c/lrjrjQu+M1qgTPAnZ/yM0Knlyw0rPnISek2BSfUQU\nOGmCapGBju0yeMzz2DsdvUIMWEY/GXoTpWy4r9lPn73q0b7U5p9PZGWE72Lw\nIdXBFET8K/KqML/8Wwnh8f7kwvyPhxf1kH4go/GpR/+wPdZmJZpN5W37cxfx\n3EHQM65id8FV70sroTrUj0oCI62HJpatc1cvzPKsRIkXXZq4oPgCvFXDFif7\nvA7T\r\n=uruI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIWGavdAibTlr/eRUlisSHSmJh2x4xdcIxj3tUVfiFUAiEA8D7+NUMNMWfB5Wlq7PFZSGKS4PFV0An40cBJe197Xzc="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0-alpha.28_1627965219012_0.02328239894557882"},"_hasShrinkwrap":false},"3.2.0":{"name":"@sls-next/aws-s3","version":"3.2.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.959.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.170","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"e9663ce4e358eaf55bb63316ba153c9592d9c3c5","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-e9akABotNkp02vOGNZNiWtY0xNiPmn2U2vFlOkW+ldxehriOZBgco/wbMK4JMEBNEE8CamPlPCvFSXrOiRNwIA==","shasum":"b31c4299944c0a81b524d8c2858b459066543566","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.0.tgz","fileCount":19,"unpackedSize":53302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCNuwCRA9TVsSAnZWagAAlWcQAJeNUKEEVNDEB5Dq5I40\niALVyFxY2ePBj/+c5Dh3tZj33DRmOWXXEwSVixL8z9oI94MPYRK1Aj2/vQTR\n15iHNYDvslS0zDg8Jxcb+z7TVCNVId7ZipusdvEga7XVji6z9WVhr3tiH1Nn\npIXuGl4ZiacdZzPelqEly7vXSc8TK6NqJqIFtPZxXtATiAh7mwNb3Lx1r63/\nxEs+oOcBBO862ohIx8sd7g49OZBTJ3jCWYjpxmDRrA6gvVquCbR51k3SqQDI\n2wrShKQzd3U9+xjyArwwc2INXWND0J/5I57cMjm0yk5By4SYrVeOUcl2slzi\nU2AVHA7BWIWN3pADgv7spzyTbtEfmtp7wVseVWiv4tWPZ5wNnBC3bSQTHzCa\nBp1eZYYGvISbTaJbciDCaoilmlw9UQcZ3KidLarexFWvVABJZl+81QzkGLKo\nE2Y/nmeiscNWyhnqvEPldNg7RvLT+tGg1ChJdK3NpVKFh+50c1mGpJTAEs9D\n94gNzIUHCVjMDTKDRQBHekOg8mAGMFD+om96fNxswpyNfLU2DHeXOAbrCBXW\nXz9xSbeNjgp/sosm8YpIUpB8YF1YpIfl8G4Ez9TawU15m5ncN84aDFa2f/pB\n2XDP5PP06buU4wryooePmBa6Q6o/lZg7gE55ixGAVd7vT6OflgvQnNHlfcGb\nWjVe\r\n=oWCz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfk/2lBI9gIq1BpWbT0+CQG/Xf4tlG7nxsvZ/0SLwe/wIgTADs1DsriwBfDOx0khu7VbdRQs0lggY0GekI8ifpijo="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.0_1627970480145_0.09835212791078796"},"_hasShrinkwrap":false},"3.2.1-alpha.0":{"name":"@sls-next/aws-s3","version":"3.2.1-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.960.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.0.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"aa8d742ac6d533a90e520adea810374cd69c0dfe","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.2.1-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-Y4NTHQ/vncQBbhpRXVFeIjTrZytB0Kvo7kytJ1pwyL+B/zQPvaY0LCQSE3LImQzw4gkoABxzNHoOw0+FSLqhkw==","shasum":"2ec5964a1eed82a78e0c461cf6d6fb86d56db186","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.2.1-alpha.0.tgz","fileCount":19,"unpackedSize":53490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCsEGCRA9TVsSAnZWagAAwOMQAIe4UeLLdeIdpQIxmina\nvdUmI9CepVKjo2r0nuf15/4m+0GJhddKiEGjShJyT11nNef8i9+DdyyPmDe1\nrGUl6IrVBpL5C28w/Gshc7P/q2t09m9QlcBKYqAy60jTB6CAjXPfhrBN94Yi\nwZWdPMLCqiDRRYRCzW+tb85Smt/Kb0pFc/V/xkrVM1FmTbHpZTO2isuyALvG\nh8R3eqIoPv37qTN/AJb4Pn6R5+rg9aJaEzCo7+x9Fid8geKwlFqHZ1DEThhW\nnXAmZSbv3+TJNMgppmfmpmPpocBJexROChU7/01vCr4xgtmGcyAGIUxBzFJJ\nmy7URFFFiSrgeCD6C6KLGOgt4IzSbDycy2XusRZenRpl0he6/PwyPLvMoObn\nOewxbdNP8nv69lCk3Ri7HpVCIt2xRgW9xjj8uErKQiAf+1A3GPzBQU/EUUW5\nm9X1ZvxrmXwilGSk/wEnTzEEsUlb/OkDR3WBLlYgWRFJrpz9ULjppKam8Oce\nQXgsm9tVbP+laCIdl5s4HaqWJj6qOwOUunuJlj/z6pTzOXtVRUaxYdNiHphS\nrQu4aEqQw3YJl+JyE4V9ouCdX+5F85kcR+HZg4F4VNII1EvV0CcedCtMdR7f\nebkXqOP3U8CQ8TA34G6haM2VLCRyZXPLcIoOiXeDPDuBBlg3xuD/i2m8dZ8W\nqLmJ\r\n=rYw9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCL+sqyIAeGrram72nw+rxfXbbfyMM314z4sfeK1e+TAiAsmjRMc3+jzrRm95Ry+2W+Lml+89kxE3pPjVVw9+iuyA=="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.2.1-alpha.0_1628094726480_0.8032987901755277"},"_hasShrinkwrap":false},"3.3.0-alpha.0":{"name":"@sls-next/aws-s3","version":"3.3.0-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.971.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.6.2","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"494121a0ebac4b8d6142036515a7758b1aae4efa","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.3.0-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-KDw/2dOLaYDkIoGF8BoBeXzAziX9sQfVRYkplREoSXjl7cY18mTQG1X/nYPMHkQOmMkMoGtWN9iEgveMUx4PFg==","shasum":"0f4cd8104e6db383963ab8e7414b858b768331cf","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.3.0-alpha.0.tgz","fileCount":19,"unpackedSize":53677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHgFnCRA9TVsSAnZWagAAUSwQAJHG40pyNXnd+fVn9I0Y\nlTW9UyqcTK3xkWwnzKzQHM6Q//6S2ZWxnA+LGaDwbryCYyYjbzZitgHLItff\nDuhJ30AEbU7srREm22PwwU6yskT3b8ndHxXmuyIo+j139hgh3+O63NPTjFf8\njsoW1mXhNCz/9b7teJ3iIdAihj/oCjnMOnL1E551UhzXdmoVpTkuGa821VWd\n755imiu26YuN/k3r6dnsts6YTCL16igiuJe1vEXQYQynXxO8ki/gx4CrYlmb\nMaRLfiS07G6bWahtBbDK6oaKWSsZOZY6+w1yadDvEPyeo5XSnz9qXf0G4SAj\nP/T8qBNos1oOX8YFepZYgrdL/UJJhSZn/zvlV37t7DQFFGyrR8IBrKdeCmMa\ngri2z0Wq342R5IcqmNvoclcfZQxdIlQUPvk6L7PBpgOBakc4ZBARfKnaG1AE\nuk2MGS22ZbstBOuMDFnvOe6YPqLW14nQWuVCZRYrh9B2zebB0XVCdV3/7dQt\naXsu4zzqG4cW8qEKV/Ygb21QDTyl3kymw77BauTaG5fWyIzOYXodNxRUOJO6\nmfqpKhkFGiZj8x3+496/Qf+vAVKyCLFzwJJP4uSkibjM5lLC7Uh9+cbUGnaU\nMKo5TJ1yXQ5WERcwLLhkG5on6ZKqt7gJPTtaOatHlpQl8VxeDYmhk9EdOVUT\nwJMS\r\n=rQT+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7AwIskzQhry5RL46Bu4J/dXy3tpqv3399l5yNe6pHJAiEA5w85wbhdfHEcuZV8rxUl35+OsqmdIT4tiTwp4/seQBc="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.3.0-alpha.0_1629356391518_0.5264681613524804"},"_hasShrinkwrap":false},"3.3.0-alpha.1":{"name":"@sls-next/aws-s3","version":"3.3.0-alpha.1","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.972.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.6.2","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.1","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"515c0a047a623889d25d2c0627e09cec29a0a822","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.3.0-alpha.1","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-l/HIxJ6hj3dUvHeY0/M6obmr7jakHQHkva74CHY0f90D8DvdAPjYyRJbJTMJFpJrLop5Esjvr4sLUgnw2l0E/A==","shasum":"7f707f0e9d22a65d2b39b6532549368573051cc6","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.3.0-alpha.1.tgz","fileCount":19,"unpackedSize":53864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhII/lCRA9TVsSAnZWagAALZIP/jLUyj106C3ieqnMwsL2\n5v5LzBak6BkNNau28P+8sgDWdcyg3GYXWOB8nFbq40pZ93e7NIbnKaro+iW5\nY74QJuxqGAfQ3AyFHl1USgV6jrQNUeJjQsOhgQ12v0WCnD2mnlAM77PSmZnl\ndFhEjqgEiIXt32LAi6zsLt0eHJ8KApUipQHCozQYpI3qsX9otg47y14kfYkV\nTYX+M4YQE+5Iy47LBnfYdj5+QxKIzCDi8+ddfEEMwUyn8ZzqQsA7hVispuXk\n+ENxsyOasqs9/KQESVi0k3XwwqPH7tYyGd889hUOw7RIKnlDB39WcvFHat/O\nN5hxdTuVVv9jplNmAEMa3w9VcGKf6gkQkZqgYfh6Bh/QO8AvAMaYWc9tMvpM\naMvo0KodrMsoUiONrA01GVEPWa2XiRSJIZ3REOtjPpWO4GEarDJuNsCaGZmA\nCy9lg9kY89IrjgOuSRpRuAgxLj1v+uDsP+3PWp+brKOFB/kOMTkfQ8Lr/n/1\nrNwsqfstQX8aXOSDGScwp7oki5Z0o/DfEfb0QCdMp36bg2JZk1aAJWQL6uf8\nmFkP0I6xJPUPC6cwmQvslGbVo/gjsYyGzS+6cnswkKayHggj/KxlLrD0NmNH\nQHz6pQJZ2NMisbnQxo3j5YRjdkzY2O+2Lz6IgwAAI2vjpQxD3CVKDOlnjmEC\nOOIK\r\n=cbGB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICOr1eE1m8w5XcbboIW+smoC8EK0kyvkAQZBn1WKfsbjAiBMa7A3nbIS4zUSBXPr4o9OKti3nX2VbL7k0siK7W8/Qg=="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.3.0-alpha.1_1629523941485_0.5906680576077132"},"_hasShrinkwrap":false},"3.3.0-alpha.3":{"name":"@sls-next/aws-s3","version":"3.3.0-alpha.3","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.975.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.7.1","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^3.4.1","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"60192a3272dcd968a14d5e4f71af874deb9750bd","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.3.0-alpha.3","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-07nAYt2Z/kLjUO1jxFLqWFO311tF7fHgKLMhL8H7R6YoL1HyLg42r+JKG3r/WHmhI7pYASFvq2ZJjyHKy5g5/A==","shasum":"b6c701296ce110999953e53dac7c65ad0cd7031d","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.3.0-alpha.3.tgz","fileCount":19,"unpackedSize":54051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJnOfCRA9TVsSAnZWagAAi5kP/jUp/QID3OOUQMlSxaRs\nJDB38TewTq4An80eY5QHj5HSiQlKxzmKIUnAjHkDymAdneRhZ2WrCJjcu8Rh\n8khK/koYNPcEgImjouHTqjI3tkS9sLz4kpNf6e57i4CS5RO8ziD2bjOGLi7X\nG4jTLpV5PQ/kGxkbH/BLu8X9sdKKQ5jC6dYQoBEhupuNk5g9vdnPdwDqIxyg\nwWuDQ7JUjXQBBZB9PKw5Rzh83GpGXcqzTt/eEzwtxTKgzk2WqSrpUkUte8aj\nM1dfsBnw0D48ep+nUoth7vMjCYjmX6aROiXsf/WSJpuQcvyREfYNsACFimVD\nYvMNhRMqRcm6kW2fuVCCcXh8NVdF2iRViA+WUCz4i34HTiJRP8yLRO5aw8J4\nQ7jMATy+uDq58GEqYy0m7PaeBxtxiX6weMc2wcAt568pjP14HhyT+jyrtV/S\nfBVfkzfkcufDUma2mBi5DtJoF60Ior6/zzV7QbmRrwCcODa15mJaaTFHd/+h\n0vb9f8E+Gh3xTbWGiEDQi+ReJ0yDCL/PoO8aC8GdT8u7/QSHYxV6B5HAx/eW\n1oGzhHQrQZK8CC6NP79Glod4e2JmB4bIVLrHEubHJlAStlZ1NQq8cI9M3Dgt\n7uvM3/Mw40CQDomvszHlZs/uX/v1jLPyavSgspfAVAe7SLREbr/TI15qe1rG\n5QjO\r\n=DnDF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcdvuqwJwXdVqwiyX3qLEJpYsvgNE9TjdFtEruFgPzZAiBMAr8Q9+ePNxVzSem+ZtO7r9VuT1CHWVDzKcxDMezgiA=="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.3.0-alpha.3_1629909918951_0.20050400348002095"},"_hasShrinkwrap":false},"3.3.0-alpha.4":{"name":"@sls-next/aws-s3","version":"3.3.0-alpha.4","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.976.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.7.2","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^3.4.1","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"c3789b486f12c5bdfa6d01faa025b7c92ab63009","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.3.0-alpha.4","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-fMRWVkAnrAWev1qjk3izqxf45gQBCWX7Gf3gTK0GhA0E5D1QTs6UhnxVAMGFjXkspT2BqU1dd6SR+3KgS+07rw==","shasum":"5afd840f20e36183b447a516c6170a5d1a68e793","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.3.0-alpha.4.tgz","fileCount":19,"unpackedSize":54238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJ/pLCRA9TVsSAnZWagAAKukQAIS9kCilhgYLl34VrzoD\ndu3HWMHMvU06h0PrFW4AUQIo72hJvttzZe4+W+SqOKiwQRAtaaM0oJaN0Q0c\nJTdJwlQdeXsb3ZwLZMK5Ixd/yu+3hllUu0XeQTWiq1Fu/FdlLhZGJ/SNkGse\n4L4quv/EXPADMRy+aQzGsQIRJTdMvbMVxHe/zzt0FIXZSisbzS2QXiOkYWRz\nEqeFW3dImOBTb5Gxe29hv9EKHdnknr6E+cdumL7gEHCX/XSAI5l6k2fKDIKO\nz9m8lmSWp569/qHrfhBsoXzNeQei+bSbdB2L0vOvkHyNzK0IW3T/aqS6iRPt\n5HMbisZ5jA21z0N01RQl+WK+tUsmSq8JGQWw9xzNe4pLHjWgTwXMp4n4GHKV\nDNuiwIL9IfEQbJ5f3e/e+COEvVyHFwxKo90OpoQ5JgasAEZuIqiqtYkt523a\n8/CA2RBxdlAfGxtazy503gdGn3m2iP/VDMpJ05dKLcFdWByyiqXxxMy8FfI0\n1uFdrxwpiJW0X2U2GXDxvH6qpiCCGfKBWJiM/zo+eKLZAABhVqitreAWuJ3a\nXbnqdgWtEU5bsWrugELo3nPLo8Iz6PPcZZV3tBA+Q1rG4MydHSKTAa5GMJxL\nrtQKLvirqNwWMt2Wg7bZM9Kt9unRJgVrXl0pq4xfdGiMSyLIbAMfssVb2ZBz\nfUMZ\r\n=zBRf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBl5h09Lze84plmPezo+f29WsD8FvlUvip/pFxZIYlJIAiEAq/gBCkoq6HzYE79ntMXMDKZlTohjv9csjjALXHnQ3zY="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.3.0-alpha.4_1630009930907_0.2847402622050281"},"_hasShrinkwrap":false},"3.3.0-alpha.6":{"name":"@sls-next/aws-s3","version":"3.3.0-alpha.6","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.979.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.7.8","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"508fb0d26dbc66707cefc64f7f429cdb93403781","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.3.0-alpha.6","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-JAZWnovO5SrbuGQZQEjHe0eiYIZ9DNsV5gnuFa76rzVipAjtuvDH5/LxzgaoJSXOPe+H+D2qpJzkabd1vFyYaw==","shasum":"8c96c53a360c59b25a5b32a3730bdbc5b212e098","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.3.0-alpha.6.tgz","fileCount":19,"unpackedSize":54425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLpKLCRA9TVsSAnZWagAAzWAQAIPR6vQamr3qVdD+/oop\nRcJYsuvCnZqkT9ZzFTi557nbBLfDc/3z3w9MRImn5hY9IUnbWMUGKIC1evop\n245bOXc+OwCGa1KvnJ5qam5ilXPHdeWT//mR1JwJh1xNwoH4Q32jLvB+0fAH\nBpu/K6NT8CXSJrYbVsJq9C6VBUBtz/lbJsZtn1nXYJkA7RYsmgaMFYU4AWgG\n0zQdHImroQulh3SApEcFxkT1aj8vbtzY1fT0ty0H0KHG2OvcBG7VJd7qkpTy\n+3r/v+AjGSSzzs3tTEZytT3pRmCXh6J+JzfOl9CC5AfqGsVNuruxWX3UHgDX\nN99SDPkhAZ/y9WmcKvfPtHr/687g6ALHuej4Om0TvDW9GtqvXlLyhSI29BR7\ns58ynhq8oS4VPYHgO6MzJgU5mNvfD+ye9YgQS1ZiMe/mfBiSMgOvVeJQQe0C\nG8Q+CF1q1IS7RREQ/VajxO7pbLuE53GeIFBv1jDOcK1idswma+skC1O2onKJ\nQENplkf0eBXd26XYqk+5bzCUCsHviwITCs0nygLQuQyMXpXWgJ2gVmK0vyb0\ndIqFL9eryv60/1WjDccpqatRYDb9Othdv3jN1fUSKE2E36SI+L79/iRp91gg\nsrD0j+gn+wclrrnRp+Sx9h3V7tOulW/HlLhGmY3yUX5b5SwEadh3+y2Krp+1\nrfIi\r\n=ufrz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPj+cSTytuKtJmge+dZJIbHlO2nBz0oawIi+ujerscCAIhANlXa1CxGJqhQdfc8BknXlTaXMSMymvNODRy7IAqu3H+"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.3.0-alpha.6_1630442123112_0.45891245918855206"},"_hasShrinkwrap":false},"3.3.0":{"name":"@sls-next/aws-s3","version":"3.3.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.979.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.7.8","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"145c16d9e163aca7b5f6a753f60404363c842b8f","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.3.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-IkywR0AOQfrzO3UcdCJjLm6bUYHE8ad06Aw33BBvTQMvdQ/sX/LBIJnwuVHmwp/H1QkdcuV4hIK8s/rogtxfsQ==","shasum":"908f476024350ac5df3c0c904307cadb40e4dee6","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.3.0.tgz","fileCount":19,"unpackedSize":54588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLsciCRA9TVsSAnZWagAAFo8QAKFgBVHUBxXVQmzYejc+\n77f6MjUpjSj6q9ZF8VKV1sGQl0CAxZT3sC58WPpZjki9IkMqKGPozhAYS90w\n3m8n8j8yQoGwIhOYQcK6dJLYFSwqZ8f6TRk8ehaYRH/wLV20JZFFyMWjvGJC\n2GKWQ6g2o6hrzZs+EiNALkS4FIiPdJcORaZQe/2oiUrigEWDaCXQxggVCxCK\nkvW29OigVc1VYmWgVrRzPOUGZeM03Ox2Qa8SclQVmPQMHUWsMwG3VifT5unA\nZjhhbY0ElKwFP61XllGbPxgTYviBUL/8IAPpv3SWPNzq/Jf3zXaYcLSxjPBH\n0oaDrCSmHD8+ZBW2Y90bx1YEVrwRkaVEfmUwN08PJhMf9FovHXbWty3u/M18\nYNTboBwQVbvIEviEqyw9c1FkDjrJWv5+vYLvZP4A/Ec/tGlsn+3rPPPz6A87\nzWbhgOrJXObf08Ee2jkYytvvdJEjj/UcjKJMaX8Xcbl0BWafyCpYdL/T3+xh\n9pWc+/ixVkXqFScTII2N7Pj6Jywc6EBHq2PAuFE7TAsirnT/6RXIrSpr7uyo\ne2AETkfyBk1WGxZ0AkJgkkZ0sgwwZkS8E+hRwIH52e1j0aQXq//w28YXXY4C\naYhUDgki/TOw55fmIs5JgnXkoqkUoOm9V/Y/Ngo/80WUM99ei4uzUnksTgbG\ncCru\r\n=kUBy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgu3C+Q5bI6/0qoe/lvN7w2SKPfL+TZArTzymBT9ybMQIgFOtRuibnMx1jxgQ9WwrrEUImAkmmRL1J8ojrggaYKlA="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.3.0_1630455586229_0.347546936423923"},"_hasShrinkwrap":false},"3.3.1-alpha.0":{"name":"@sls-next/aws-s3","version":"3.3.1-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.981.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.7.10","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.3.2","typescript":"^4.3.4"},"gitHead":"73597d7b0817d123d834f2c61d0adeacba18840c","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.3.1-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-UU6mdOdIITjbjVhbLe+2caD/fYG38iMaPTG+frllCP7mhlWHLAXkOd3PAuokOPDBr+r6yVrkdRdKMALfqoLKAw==","shasum":"3459330dc104066a2fa41c80902a1e1f2a906a4b","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.3.1-alpha.0.tgz","fileCount":19,"unpackedSize":54777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMG7BCRA9TVsSAnZWagAApJoP+QBwjSBGelioDTcYD+Um\nNYEJ082FfMK6S9dkTaNkQK27HhcevaTrwfNYXPx5NbUlosa53WE2/EmI3ssB\njon+rKFRGXu3GSJ1sQ4DGKJFOMyiDn7WbE8qY6p9FL/WrXkXBeZxa/cVQy78\n9r72//NuweExetmDn0R0aPCn4WqSLdHpM6GvF3e8oJrsdR3PaTR0ydTmJH6a\nNpP9CSO8x3oY1zCyx8Sx/ltTKYaI7ccp7MvMaf0I26DlrvMZPN8mUyBwPAPm\n/reW0jZKesgxahOkqoRBP/lcSiOo57RtwiDcEjEqg4CFono4z77G7ClfHJPa\ngdkjtQyumClt8mmi8T9opR2l8APKprqvNJQ5zSVU5N07YHMa8+yHDKCfvVqu\nxFzsR1MohRASaAbobTOoKCQNx25hERbfit6ru2tc5sZoJkQfD5Jhvt+DJYSF\nTThqZrFXTbK7wahzQcnckivTmFe/3XaaqM+iixN8unLLwMY+tD1SG8hmVjzU\nYnWvRIXt84nloctZFOlf1rIADDuuQ3XuNjODiID7epL7KTp21YbU2OPVkE7/\nfxFaVFfFgEdTw5l2owaPdMwMRUM4ES3uDDxVHj2juYKEhjHy1PPZzHLdsB6m\nTRFVgA4I6gZvFzxIR4SrTSkZDBYfPdKbecpoRldZX1ebU79nDQ2YG3LZaFKY\ne2sb\r\n=KIfH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFd1YvfPUZYor+VN3vpNfp1YQh2qWzvTKpN3fMrxPDVyAiBMhczNfQfwedMc6v4Qwim4xp6+po9DYCz9pZsVD9JlZA=="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.3.1-alpha.0_1630564033455_0.023483363890623776"},"_hasShrinkwrap":false},"3.4.0-alpha.0":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.982.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.7.10","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.3.2","typescript":"^4.4.2"},"gitHead":"8fd147e789f939a11df65530887c1587436bc36b","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-E7DmyARU7U3nLH9dl9+MfMs5GDMoeT7EnZesKprlOimmJLxi7N/T81dr4DZ7g01DnR1UYR9XjkLGiRYNZDE84w==","shasum":"4b9f6d80c757d8c05a7836e0f81a9ccce9be7b7f","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.0.tgz","fileCount":19,"unpackedSize":55054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMnFrCRA9TVsSAnZWagAAcgAQAJQDgEbXvmdKcvTgrRLe\nO0uPfWzrkWwc4iSyWKIr1dWEpfqoS5tYPWJToZfjqebjWzKxh16BdIrvTjmY\nk3u1FANd8NiirmO6f0MpDK33f6RTR4jz1uDLdCDuRUIRENJvs/DK/MFPQoKp\nx7zUpDKH1qUndeATrGhoajKnjIZ2/9BFGiKbo531geliIGhecf9LRVmwKqd4\n3YSaFOl+WZEmjMMCPQ9UXGQbGgea8AiTR5w0NAG9D0TaHSHVrEW7nCwXSg3O\nXfYTKX+0EVOYbuASoQSvZ7ZeMxnRcGzEVBRQn5d8FJRgIgDiewYirT3bS8jl\nbLbpOLJ2cxoOfQPZrpl5z/jRakfOzTlDUEX7CQRAQ2tlhoyjPfaY/zyhBg3K\n3Ww4e15JZnOiOnTlkf5NX/ckCZukplvN5hoXsiRhgzblPSro0rxqR4SiQCt+\nrBqL9RWHhOZSXUCk35XdcY3mgtxI++M+pwZqlnsePsxizfJ5BW7fPihFWH0Q\nlN2uj1sx6KfTU4ZpKjyz9P1M2IhJGkU6NucKR4RapuZDHEHLN5w85B63aOD9\n4mDlrlnK2m3sa1jwpoAu+amQuXkiYh/R+wkjkTJ4eN9E02OCGkGKFam32rxE\n1zAZeBHbTXPxiH5e5ecIsHxvBO2ALVapIWPA4wAn88EuhotSXgDwVUZfoQUd\nKJV+\r\n=jDo8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpKpqeSWGuImTpZQVwb+H/BlsOdT4DK3tx7qu9Ox2m4gIhANydYcMckKnAJgJ2qjbPZVwaj8g8qGVRoBJaw3B1IMUF"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.0_1630695786921_0.5703742148776112"},"_hasShrinkwrap":false},"3.4.0-alpha.1":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.1","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.984.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.7.13","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.3.2","typescript":"^4.4.2"},"gitHead":"92180b089a32c9b69d4c32c322b13d3287093d57","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.1","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-Y45apA2TU5ZIgbPq5DqtZhYn6tLzrEXMH3gX7OpcqH1DzHMbtUTZojL6lxclPl3AqdUg0GZtaQ5EAdL7c96RjQ==","shasum":"ce8cc39e548c1159d9354d5fe7479a4e1be5de28","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.1.tgz","fileCount":19,"unpackedSize":55241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOT55CRA9TVsSAnZWagAAoR0P/0ki8mH9NU8Eu5tUND3C\nnJkjc03gXdU62w5FC+Xmbrj7iCSe5YPIk2lq4oZpasWmTzofx+peuPRK0SPr\n317dAWQQDQza1I19egzqDIhg6+E39+XwS4cziO3pPknpHgwpZwhqeDq4DEgr\nZpRdMi1uWqT+QaTx5uezBCD6s8V9XCvkStbN6TsAgi5ZJM3DRP/KPe252Gf7\n94q9B3hURhLBmUN0Jt4pfTEhj8qcivwR82CFS0HmtWxJpsca9cBhVSvi1LeU\n4BdEw6dD7LVbB5wmgafLeYuuz4XwU9CdvFlURKcs1oQnu95cPbivirvnkWnW\n1cK1UfHHYcV875g8Yu3cqQaOxYPLoh6H1K8t0EOTndGZlYpJrOxfrkO3U6Gv\nKaG7QtWS/8L+Uzy7qqkz+bT06rmBLNJa6yEpOaLrVC85TAEdtJZUy1zFUFla\ns5GRwRguYx61m2oCFPnPQQkXYVISXMAypdr9DR2BkMVXNDWjvvcbDZU9p2a/\nELD2tBSlCLJhku9g9xMQqZChgdSeaGx3bnzXpkXdgWxA0HpmWXyeNtdN1YKp\nRbQmoLwRbTNvsUvxUf1FmOKKG1lA5NLyVgwFMJycjh3SETSa40UdeLaNzpjZ\n9NEPBKFKl98PvSQlz7izzRRXHlvwO43IqBwEzqasDilTP57m8DvWbf/ftII6\n56g1\r\n=RVSD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq3m6SMd1jhggLMzIAtO1P7C/TsFq1ISabjA8TTp4mGwIhAIJtlG1q8n7N7oTgahZJsauwyMZ3bCgqj2HLmDiy4lTK"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.1_1631141497170_0.9701925513474869"},"_hasShrinkwrap":false},"3.4.0-alpha.2":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.2","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.985.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.9.0","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.3.2","typescript":"^4.4.2"},"gitHead":"b25aa0e686091a0543f71225d1314b4e95feb2f7","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.2","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-r62/rWU40OjLHxN1Ozb4A1J2SAuQniT9bSzTVAQLRR4t4rZBOTXBweYRpj48FZM9KlMO00ov48A3SlWZvYEcRA==","shasum":"9118f7df2a622e7b92366bd81864c6ebcf50b3a6","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.2.tgz","fileCount":19,"unpackedSize":55427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhObAuCRA9TVsSAnZWagAAmk0QAIDtBxiE9I6C29elK91P\nqFOswW6tyxBADDIh87dhLfy4OKu9JbK47TcGJpKzc6A9c98VX9iwW+yFwL2e\nlIOvrUcdXkYUxegTqK/a/Nxpji7BESqJbb9Itfs9ml4Xd/hfhIFePFZ/WWH2\nEDtIIbPOz3RXl/HTb7CepYReLcgHoAn3x/PsGQ9YDRvCyCPSMsdryNYo1GIB\nH8u+dZRweKSAd/foznM+avgwvNjg7K7xZVoEFxeNMlaX521h6JcPglPZ++/e\nrjiMHO5InulA1DhV+07feniAG7+2RpAQZlPOI7yXVend7H+rllmEQfB7SD3W\n0nFpkNGK4F7zw4QABTWrRVISzWSVfJi9hvn6BclwV/GKw0KVq1HEgCE94K3t\nbWUQR3IWmI5rUbvvlL3ha7/4y8tuHjNMhzXOzu4sWlyEcKpfbkXSH1O8euOT\ntSVCEvnzcqhurglzbHknrRP6b/DgKc09jUnjZcc4n32aw2AmoBskCiDUEAmU\ndsis/6scsotWwYGFCjiZe3AmW8ZVGREBP6aZCMWwYyhFTYCF+j4aH4CVCpns\nxoAuXKtXhdBd+OX3oKBH/B1PvvlNlqXE9+vOB40NPDi3MvmNj+QKAXwr2tRw\n/mTqhM5o+J22w0Ab6MhdMFQpXSihxLaNPZME818/m4HtYzp3lT8OWo+VyPWi\nodYq\r\n=wfEi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRs5uAL/Nt5jsGNuSB2udnGurf0qMHNtt6BJ9+qSBCDAIgLvLXSX3/31PADNG0y8eNz9npnsTUPLwFSDA6pujB+xM="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.2_1631170606348_0.9685219233346849"},"_hasShrinkwrap":false},"3.4.0-alpha.6":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.6","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.987.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.9.1","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.0","typescript":"^4.4.3"},"gitHead":"915702622b2d9dcbf2750b7ccc1db7648839a2d1","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.6","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-tL5KNet2BugfHpPhpV5HlU7GuRR6a9BBNk4pSHG8dCeLoG/td7lVP1l0TzNvrnwEGp0g3pArLowBMzxlQNlqlw==","shasum":"2e2afa0eaa40a87710618a8ef3995ab8d3af3e1e","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.6.tgz","fileCount":19,"unpackedSize":55614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhP6taCRA9TVsSAnZWagAASEMP/2DdtZoLXbzI9gbYxqf8\nMkaCJxrcOoXBpVa7oGdFjIAtnnnN/VL65jpNKgBZ2MdUygb8IBPnUrYRXnzQ\ng4soHZyIkOppuoOUAR2RuRnDuIN7/BOeS4+3Xqelp0pUjRnVpo2bbTZc3Wh2\ni6JMuJuWB9b5EI74b55XhJyVHhmvKqEURXw79qbHKwZ85LCY7xXgt02/rHWs\nVyNwrOvVW4EHIsOr9j3JX24Pav5Q9+qpSJ70DuqsKIBeIeoRZ9o5lt6bYadN\nwYld15jT+1h8JyJAmxpn1fRthwxvRqzVBveBM+r2Gd5pgBGIQorY3tXdnIig\nbuO289iYI/2Da5Llp0K6UQWIgGlJWYtv9Kyeat5o2+kGODiFMsm0dXOl+pGB\nDtDelQiQfINPu720TQXmaztVpSl4pvQ3ZA4rJrOxGvOSvKUdkEeFf2I+Lp/a\nXxIaODNImJpOdUjIiaklzdgWHxX/bp1SuYFBrYBIeQl+8kFr68MmTC9a+KTp\nBQvUJ2/5B7+HGaL6LOMB8sCMhNEmRIXaVXD37eOlJCeGHxCV996HsWXFW6ip\n4prJUTspBHVKm/8mFmr568VpGRQ4V3+hLhYw4S6frqECOYnR7e+HGmF6Rb6y\nKW64H6iBSmHO4s4JuWWH8D0dYZxjcwDkXn7pdk8Lxj4/8niqpHc1oNv/IKd0\n+x7n\r\n=pm+O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOZmrcLE1/tGj/R5e0eyrMUKfw9nfqrNindiEnu1bZjwIgXE5psiXxrG5GQyTZYCSo4w5dCMRPQtNi+V6+KpH++EI="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.6_1631562586728_0.7105535319642482"},"_hasShrinkwrap":false},"3.4.0-alpha.7":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.7","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.988.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.9.1","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.0","typescript":"^4.4.3"},"gitHead":"5d6ff2edbf53c0a7e109499d54c7a652ac648dfc","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.7","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-rfILpfHDIBm1nGrupSX+kNgOUeNnNl2QDNEEL/3nWBciQB5RQI+wNFg9b/ei+iLTK6ovJw9pw38pDIINRtaS9g==","shasum":"812427782c8996c751d52afad5138614318485ee","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.7.tgz","fileCount":19,"unpackedSize":55801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQTxbCRA9TVsSAnZWagAAs70P/3+lehSQEKXHCASr+fSJ\nk78NH9UrunlCCbhKwTbSO1/d1wGbf8/eCv9dkK6yqwLKpMC3u7HAwq3yptYD\nR8AcPNSOK+EFLGNyQAZ+RVpACcMoucpqp89iDPhM/4FO0ghHnFfsg2Vgg79z\nhRQFycP7EFXRVioWCK16zSb7FAaSdKQM7nnzrOjnhQrivF8sh8cQ8M4HU3Kr\nCAJMSjUjvT8tOYhyzCtycEDB+R7H4J+JajJtq5UgUAYWtN4MYCrRlAJq8fGG\n0bG4drg/VlOVoPsxuRilICSV6YaagktdRh1qydX8iByQ57xILLHgowzI5kDp\nW/n9I7WXEExG6gSBXPpwZa8LRbW/xtc1A+jEAGHqdBo4TvuLeii6UbAKMuwk\nJdnysNoAnD7d1Jt40QksQj+3Qw/xZosfe9qcd0fHkatm2RjB5lZI5I8kaozD\nJSDZlA5mnWDV7tGW3RJpFyVq7BTC0h8TA6lU3/csucGUbQI1mMlaC9LAgL7s\nueEjAiTbJaAyNroUY3Bsk2IAE7zctgOiE+N8SdU9YAMSbw28GCNPKBH5+YsD\nIzRQnrf4TV6R20QUQ2gy0mPPj3drLKuW2BPQpcAxrURAQdI3BnyWa5zEg039\nfVvFnbgg3SPRYPmbIUEkEzgeb3Al+uNqIQyEb0EDxw7lf8RGbUdedc/EOPxW\nq/KZ\r\n=XpeG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYKFNNgNO+voxwKbFKXt/hHd5epG0wt5NLJQPNxtFyhgIhAOPBhmEeXmVjjYXanNABqeXNc3Ct5XqaCzNxn06DY84e"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.7_1631665243111_0.45002662436498997"},"_hasShrinkwrap":false},"3.4.0-alpha.8":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.8","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.989.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.172","@types/node":"^16.9.1","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.0","typescript":"^4.4.3"},"gitHead":"d506b8d30918f1cf29c813b03bdceddb2f7dfa77","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.8","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-hEaY+1w292n+xz9gMCq5mWUbZep6/n+nn84/Hia8G/3C60Ih0+yoH1BkSSKs3VDyKS9cmGrBoCoG8DovsZsUow==","shasum":"902dc10b986f2d50b422d2b5f05c58cd5ea35450","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.8.tgz","fileCount":19,"unpackedSize":55988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQjdpCRA9TVsSAnZWagAAFrQP/Rm2h1F2I2aYa+e0y1d/\nzuuHWA47UUfZwUDZ7Ta/Ioho3FsvAc0pfeOwMiHDcUU3B9kyUND5BzzRh7KX\nMPunpECUATR+xL1Cy2rI+ELJfv85CdzRFT0QDHc7B/oJYEGM1G0OrQt3aRpr\n8yHQ2vSC7TUX1eY5LeYtP882Kc1sXsFf+8gfEAj5cH+oOPjgeJPg64sR64sJ\nRA2qmv8DnzkM8l1prvlQGg+fiQFVWSFGLkRzhV3otuaVia+Qf78ONHtBH0ol\nKoMgWCVxjmaTovN93FqRJZLV6BuBYLJbiR5PheYokGRP9YizdHsdfCXZnDlv\n07HKGjlMg0pmZo8K9axqsYbarIUdIIu331vsLuo8wVRzEc7YuxqbrUwunW/x\nF7jvQcPLY9rkKLRbOJhvoDHL/jOewY+FUTpbO4Ij+naL6nXTORilSrhinSR0\nRKnY4teqbg6toqAr4/ZFDpaAXhRteBJIXjS2Br+bMaaSUVPiOvZPY4LawJt9\n4/4uwbY+mZUw8YlPhbYPzcdMYDFCBKvT1LTZPAV3jQSdIdMR8ML3ttsk8/EE\n6LHVVthXbYWgqB0BJwknZ2/xxys4cSIIirSDcfMVzmwHH34oUbrOTLzI6ilo\nyIGL6lWJMZwa8lLpMLojEfykUSAEUl6UJ5y9F8oM3jXfO0bU9Z5buEfAE5Dk\n0vFT\r\n=5zdO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYqJdc0sI8NOQ8RtXZcMSZSF0K7tezDJybFsTY8zWK0AIhAPdAlIMTdh2KhW/miMpt1sBZQFY8bKMf3DnvXp5C8qwm"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.8_1631729513635_0.6467271158720789"},"_hasShrinkwrap":false},"3.4.0-alpha.9":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.9","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.989.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.11","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.173","@types/node":"^16.9.1","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.0","typescript":"^4.4.3"},"gitHead":"806923ab88c84f828a4d549badb8fa34dc02b130","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.9","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-RSKLg7B30Y5W+ZLYsfCwmLL+7a8oFlr19k0n4HyPQv+VyOXgNfV9eRJAUblnIZkrHTQHp/TiaPsknHqRgKWVRw==","shasum":"99c88a0db0e5ec617cd7a0576c469b50bf0aa2b5","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.9.tgz","fileCount":19,"unpackedSize":56175,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOfboMZOUrbeWkPaC7QHgkQfU8Zra/CLtQ2RlAsabMRAIga2MpLDcy55UPeV8TrpbPi+9UN9SfNhO3WNpEDFvXxKc="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.9_1631898969405_0.12609088994452766"},"_hasShrinkwrap":false},"3.4.0-alpha.10":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.10","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.994.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.173","@types/node":"^16.9.6","@types/ramda":"^0.27.41","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.3"},"gitHead":"9b06196fba18750c74f0f9586afae2bbf1c84fa1","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.10","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-UNdSRS5N/6FF0Ja80x8tiEDRfl4xG29FTclN2s2FCWC8pcod6itqjuGpoyFv/zXFn/AHvoAuNdxGtgbHcxhvmA==","shasum":"b15fdede07f4af579f2d5f94b47e725e514fc7a9","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.10.tgz","fileCount":19,"unpackedSize":56365,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMrsQhmN5dg155w7oBLl5cU9hH/z7SyD6POrwlszqakAIhALWJ6Dggb6bi8CAz7VgtZw8WhMFdhinku2B6ppiULX5V"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.10_1632506100259_0.7600705976714348"},"_hasShrinkwrap":false},"3.4.0-alpha.12":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.12","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.995.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.174","@types/node":"^16.10.1","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.3"},"gitHead":"0553f7543bc09ed7c3bfc18e627f5c9a10ab2a16","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.12","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-EaJ1nDnELOcCAiZaAiyAylxg8CkLg730ua82UhETLymavmf8gPRZ7L6EIJQ//hWdDdbfxB9bR57TYll5VemEsg==","shasum":"91f9140a4ba109c08896b6e353956f309eff903c","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.12.tgz","fileCount":19,"unpackedSize":56556,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYSp+o1Vvn92hXmyvRsfKzbekdRNoN1n1sdo3S8v/khwIhANIHbXKpl8B4c86Ubj6GHEfYp3Rzd63vDr1gk3Yk6gPn"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.12_1632763540812_0.19260515761617736"},"_hasShrinkwrap":false},"3.4.0-alpha.14":{"name":"@sls-next/aws-s3","version":"3.4.0-alpha.14","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.996.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.175","@types/node":"^16.10.1","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.3"},"gitHead":"12463e80e1f04cba0a56ca4de8f064106878af85","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0-alpha.14","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-DHuflumvixHOi4YcXmKVUmXZheao9NVlHV7qo9lbA0SgjgC4jw+Zt36uuO4IzqrNzI+R6vtxXGRK/v2AeXQvhA==","shasum":"e4c46216c401567f3750942e1e45bd21e6825b03","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0-alpha.14.tgz","fileCount":19,"unpackedSize":56746,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqR/QDAmKRPkeUMdT2gHsYZPDyZJjc8Bwtg+U6t/cGtwIhAJbgbKczgDb8SA0Yzo3ZDhYEB2o3K1Fbk0QUpsYW+p5X"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0-alpha.14_1633158025412_0.5478736517800393"},"_hasShrinkwrap":false},"3.4.0":{"name":"@sls-next/aws-s3","version":"3.4.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.996.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.22","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.175","@types/node":"^16.10.1","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.3"},"gitHead":"14d410d4a71c2ea4f5b4bbea4bed9f1c0627b8fb","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.4.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-pbFnX+wlf3jx2dBXmYMQkX2Wg0eGxaekpNdBkGSOTLp/ASaOVdbBkhY6UshCWx64idk2KqkNpL80urTr/KfTRA==","shasum":"f50d3040ddaeb505f00b1f2cb6dbd964a6f60a95","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.4.0.tgz","fileCount":19,"unpackedSize":56909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtKc3V3+e3RFot8f5JqOlYAiWmNIMmNoiuvy5pYNd4EwIgQN0r5OzN7MUG3uSEgZBoAeIgWd0YAm0RV7JKAmqeu7c="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.4.0_1633158255155_0.6323779137078969"},"_hasShrinkwrap":false},"3.5.0-alpha.0":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1001.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.175","@types/node":"^16.10.3","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.3"},"gitHead":"545c5b6da08af641c7898cf49b142e928a12e102","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-qSnYEzIHw6w7Ir3kkkW3M/IbdG0dSkMk3zPWtNbLIBclgnsBJoN++J0zV4EjZtOPzFrO/B6ONk9BifWZ7H2GhQ==","shasum":"955a51973b4c2b904cc13dd24d86392edb965637","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.0.tgz","fileCount":19,"unpackedSize":57097,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtP0h628TBxFEph2qe5e4VpNeyPY+qD5/tw/gmeDiKHAIhAJ7kOVSyAFyX00OdYXsnXA4bLUOC7mZDwkapAZgCyvtG"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.0_1633504339233_0.00672434988838555"},"_hasShrinkwrap":false},"3.5.0-alpha.1":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.1","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1006.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.175","@types/node":"^16.10.4","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.4"},"gitHead":"75416820bf53a1388674fe8d18a6a6b4144832cd","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.1","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-zIWJT1BUBqLUJrCidPN9Szbs2O0Z2cc+pvrz//Tsgai1zy3mDWwwcYcdmSMAMoIMA48XbSFDiepXCZrYfsYgEA==","shasum":"dc3cd32c0af3f892c5bdee3dc42cf7d00ede8d4f","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.1.tgz","fileCount":19,"unpackedSize":57284,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaCpNROdGgRVlJ4CuMDVFIJdygKc9CK9n7d3FU23g9xAiEAkQECw2s4seSuV8Che+hw+bas/dmt/rB6Ip1pg1hor/c="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.1_1634105509767_0.289331476149453"},"_hasShrinkwrap":false},"3.5.0-alpha.2":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.2","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1008.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.175","@types/node":"^16.11.0","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.4"},"gitHead":"02bf313c287556980f95c540cfa8df04f5974b2e","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.2","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-C5W/TrPP0/hB8FilNKD6UsOtHAEWVe6UtucMxHjH2YkYLgG/xJ5sgbzXhapjVCeRYNVk0tA+bUNJB1PfoD12tQ==","shasum":"cf81d0bdf4abae1e92ae7b56384e325729809fab","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.2.tgz","fileCount":19,"unpackedSize":57471,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnZj5Mas7vuMb2cFyHCC9GZxjpLeRVZYl4VHaf61BPMAiEAghFdYP9zsJAPGcpKk2CxceaynEI/7FBBhBu/d6ZrGTM="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.2_1634370034975_0.1462467477328886"},"_hasShrinkwrap":false},"3.5.0-alpha.4":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.4","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1008.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.175","@types/node":"^16.11.1","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.4"},"gitHead":"a75d3fe28d264ac467495f445cfe57ba57ed435c","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.4","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-H0F0PSCHc05/v9fXxyIFs+Ox9nXdA5pA+2Kv57tvOJ+rf02wzkiLtt0h9GVSO8N68HfHmySjZkoXEiHdimZNQQ==","shasum":"95e6feaad593294450a2ef99ef733f97be4df85e","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.4.tgz","fileCount":19,"unpackedSize":57658,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgyG7e31f6KksEJWgkVaEZ5d9wVii5YwXPmueAaggAjQIhAMFMrHBrXdXe+yNg4no9lKBa7imFXoRdISUYgayucON7"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.4_1634545245576_0.2591588446006874"},"_hasShrinkwrap":false},"3.5.0-alpha.7":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.7","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1010.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.175","@types/node":"^16.11.1","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.4"},"gitHead":"4f60e8d36f135748e6150e6ee1537615fcefaf8b","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.7","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-L1bUWuqNQW4auBwJhIHuOfdzurnL1E4Jsu2+Ysbp3y86zICORYRB5qkXg3eCLs3FFT1pIZzMwg2O87ZOyols6A==","shasum":"c5d9f91c83c7a4ac5db9b188a05c820c23f2409c","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.7.tgz","fileCount":19,"unpackedSize":57845,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2Iy6eTCbAXBHKxh8S3wY2ShbxfWSZkx71U7dlDy+fMAiBcpDPmU2OAawQxvdyDj5QNNx6tJm4ltNJhgvSIuFxDKA=="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.7_1634628739403_0.12934688991505672"},"_hasShrinkwrap":false},"3.5.0-alpha.8":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.8","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepare":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1012.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.26.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.0","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.0","@types/lodash":"^4.14.176","@types/node":"^16.11.2","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","typescript":"^4.4.4"},"gitHead":"05517931a6d3cf7a02bb2230801bd7aa79df42b6","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.8","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-JTbt8KQei6qQR1k4qSPuh9fp/34r0MfvrvsFjZL+RvoXd66Qr0/NFhGAy8V+tt1lZxBAqy0jVKxc5WQFuKcDkg==","shasum":"1b88c3e265baa79a47fd653ed085b671b1534490","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.8.tgz","fileCount":19,"unpackedSize":58032,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuoQQYh7aHAMdquCueMGAoWQot45QcTgHqDqcLVMUEhgIgfQi6dNrW3OmRwbUGaoK5iP+vk0JDWVWug7FzPemEUfc="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.8_1634955590317_0.02805476479766167"},"_hasShrinkwrap":false},"3.5.0-alpha.9":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.9","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1013.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.27.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.1","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.1","@types/lodash":"^4.14.176","@types/node":"^16.11.4","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^8.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","rimraf":"^3.0.2","typescript":"^4.4.4"},"gitHead":"642580832e3b3820331061f1e7a4d8b5a88150d5","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.9","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-Munore1p31PGHhVW+xkbmowUzvaWpcg7Suej1ldPIEF+YkCNlDjAJu6TDM1Op602qz3mRe0MToOD0MGVEwthrQ==","shasum":"5c2ed10c0195d676912217eb16ba069baba534ae","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.9.tgz","fileCount":20,"unpackedSize":58301,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTr061zydSwhHdSDMZrC//IOT8VThzx49QoR3XpagUqQIgEtaTgI6YZAeaoPj3Mxg4js1UrUCP+2EJuTOGLG6uY0A="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.9_1635153511122_0.6580362720669934"},"_hasShrinkwrap":false},"3.5.0-alpha.10":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.10","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1013.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.27.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.1","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.1","@types/lodash":"^4.14.176","@types/node":"^16.11.4","@types/ramda":"^0.27.45","babel-eslint":"^10.1.0","eslint":"^8.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","rimraf":"^3.0.2","typescript":"^4.4.4"},"gitHead":"eb5684126d971d8840b1060d84a844e5c7735945","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.10","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-S4eADywfnYaoDQoh2asUHs9OvwEygBVkxcKTZeOyL9nll7MwtiFyYYgoyGu+bauoBVkrBFCf4YrvZqZsR9AOFg==","shasum":"45cea929b437126c6b728dd7ca2d553164b502d0","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.10.tgz","fileCount":20,"unpackedSize":58491,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEUlc0+JLg/Qfi0VJLy8AkIJXoTu+j8kgO6iW61WiXwbAiEAyX2n+UolFBFEahbteT+7BTZC9h4YJog3LcxnCScUje8="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.10_1635154776854_0.09378331394738337"},"_hasShrinkwrap":false},"3.5.0-alpha.11":{"name":"@sls-next/aws-s3","version":"3.5.0-alpha.11","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1014.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.27.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.1","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.1","@types/lodash":"^4.14.176","@types/node":"^16.11.4","@types/ramda":"^0.27.46","babel-eslint":"^10.1.0","eslint":"^8.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","rimraf":"^3.0.2","typescript":"^4.4.4"},"gitHead":"cc63c02a5939c96c5e4457dca004d27e256c7bc2","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0-alpha.11","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-hNaoLSYJ5KmJCISycgGxGDnqYxauq06qLxty2494NW7H+YBQvwth2W5+FlSCAbcwZncWUYDLzfZsVyEp54+vYw==","shasum":"20c9ad4cd2c6fc3e81de558845f1e88238a4d5d6","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0-alpha.11.tgz","fileCount":20,"unpackedSize":58681,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXxnyadoAF0QB/sBTyt320Wi1xutms+xqyQfxSX/VqrQIgAlZdp2Pl8rJ4NtJa2ZBKvwbvZ5gvqpMU+1+8Um5w20E="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0-alpha.11_1635379425046_0.11783853056549809"},"_hasShrinkwrap":false},"3.5.0":{"name":"@sls-next/aws-s3","version":"3.5.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"^1.1.2","archiver":"^5.3.0","aws-sdk":"^2.1014.0","fs-extra":"^9.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.21","mime-types":"^2.1.33","ramda":"^0.27.1","s3-stream-upload":"^2.0.2"},"devDependencies":{"@types/archiver":"^5.1.1","@types/fs-extra":"^9.0.13","@types/klaw-sync":"^6.0.1","@types/lodash":"^4.14.176","@types/node":"^16.11.4","@types/ramda":"^0.27.46","babel-eslint":"^10.1.0","eslint":"^8.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1","rimraf":"^3.0.2","typescript":"^4.4.4"},"gitHead":"dc4bbcbf3557fbd1e5ca93127e1f10c8cc497df5","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-EuOHn7BrLQ3wgA4c7OK/HLjShjT8h/OZIJ3kVG9KyA7FdEfIWqy4bJlZ0BiYkFfhu9faCRa/Sk8rMWuS7TVImQ==","shasum":"f92d63f072b4c9891c9af4b9bb23d7bec2cee458","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.0.tgz","fileCount":20,"unpackedSize":58844,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm8uwUtWb5hFdQLKt0ddOV7EcG0dpE+vSWU/itnAvYJQIhAJlMNFWXXztDNRT/85JxuUY+LPwFs85T1zWNq1BdujaM"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.0_1635379790214_0.011885136728495116"},"_hasShrinkwrap":false},"3.5.3-alpha.0":{"name":"@sls-next/aws-s3","version":"3.5.3-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1014.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.33","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.176","@types/node":"16.11.4","@types/ramda":"0.27.46","babel-eslint":"10.1.0","eslint":"8.1.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.2","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.4.4"},"gitHead":"554b3de9e53885091997687ec15e8793c0f597dc","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.3-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-arw2g3AlK2hlZTukXL4co2nCX5xNdND7Ix+IND1yYIpXMFQpFp+dt+t31KGYdWYIowUzgp3wdsSfFlEsjtxO7Q==","shasum":"00d454f4283b38c4de2f2413bedb218a01d8ba90","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.3-alpha.0.tgz","fileCount":20,"unpackedSize":56668,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5IaG7rBCWtqSTEhqFojPt3fVEUWknaZCZY3sR8+NyTAiEAjFUVkYjRzh2ySoowvx64CjurEbCmHl720x+EH1ZQKJE="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.3-alpha.0_1635481952710_0.9145243242599108"},"_hasShrinkwrap":false},"3.5.3-alpha.5":{"name":"@sls-next/aws-s3","version":"3.5.3-alpha.5","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1014.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.33","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.176","@types/node":"16.11.4","@types/ramda":"0.27.46","babel-eslint":"10.1.0","eslint":"8.1.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.2","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.4.4"},"gitHead":"6d761ff76c5fddc0e2c091573cf1f9501f9ffb63","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.3-alpha.5","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-u5iU7ZAS/jOdJcQaUSUHyQ/V6UlqKgStWWpySLjva+RO3m7GXMVRTeWsyjPEpqXUPJK3gay52hDt6YJrTXilpA==","shasum":"59cc2dc3540ad80c0cb57e0cf8d5c3dbc3df5f95","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.3-alpha.5.tgz","fileCount":20,"unpackedSize":56823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrIQCyNef+eCZtWZm1gtONYQcQbfaiCXu2ygfbn24CmgIgd7Ta23cqqOmxwkHsxgfzhIneLNhK5XA/j110mMIzcG0="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.3-alpha.5_1636366025783_0.7845910171902304"},"_hasShrinkwrap":false},"3.5.3-alpha.6":{"name":"@sls-next/aws-s3","version":"3.5.3-alpha.6","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1014.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.33","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.176","@types/node":"16.11.4","@types/ramda":"0.27.47","babel-eslint":"10.1.0","eslint":"8.1.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.2","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.4.4"},"gitHead":"bf17be53dffc6c727edf21fa3333f422f4fadcb3","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.3-alpha.6","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-XL4/eBLSq2DXwbkwgk/WqbP+Gcpg4/WtjpP0Knz9PRSI6mtigZwJPj8ulTSIsF4n/1HScfWmutgYJP6oNTlBtA==","shasum":"6a120a91150e6edc0e259777118140839dbc7d57","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.3-alpha.6.tgz","fileCount":20,"unpackedSize":57011,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOaC3fhIsb8vC/Wa2m+x/JeDdiFg3LaeLxNWYEMrrKdAiEAmGrmqvefMUROEfrvZxAi0rqU/TyUrENzxwHXr4cZKg0="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.3-alpha.6_1636422616365_0.8485959777703851"},"_hasShrinkwrap":false},"3.5.3":{"name":"@sls-next/aws-s3","version":"3.5.3","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1014.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.33","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.176","@types/node":"16.11.4","@types/ramda":"0.27.47","babel-eslint":"10.1.0","eslint":"8.1.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.2","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.4.4"},"gitHead":"431bf3c912d33cab11876300e1cd1421a983ff7d","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.3","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-3mOmScvWvhC2nBMRRLDZbdescMvkNMchxHOP2GtolpHONg6lgCmfyX0T1Fw72SQdc67E3PRultRtDtBmHGUuFg==","shasum":"46f79bfa9b74b627e08f4c13ed27293ee82cef0f","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.3.tgz","fileCount":20,"unpackedSize":57175,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvsjYzuL3iaWSAVA97n6v5B9XtEcSeoJrAvyACu0mG8gIgOSZur0KIVAZwiVkK7L1KQsWXmAkgI6QOVBGazMgc+KY="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.3_1636425711735_0.3944536370708178"},"_hasShrinkwrap":false},"3.5.4-alpha.0":{"name":"@sls-next/aws-s3","version":"3.5.4-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1014.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.176","@types/node":"16.11.4","@types/ramda":"0.27.47","babel-eslint":"10.1.0","eslint":"8.1.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.2","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.4.4"},"gitHead":"ad106665f17f659f79e0830afe673dfe54a3464c","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.5.4-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-RyNVcL2PDDN6V03L/X1RP90e3IA4vs4Cma6SOn7FbWcB8w2MspDR5rO3w3KeFVugRayohQm1uKMMNUZNYsww5w==","shasum":"2881f8a08aec2d310ab4b3d3e73bb7f35403f8b3","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.5.4-alpha.0.tgz","fileCount":20,"unpackedSize":57363,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6Dk/OB7Itrs+VbsUQY+BKld4mb2SwSJCxSsKPi1CuRAiEAlhX9U33chE+xJFxqC3yevRKX1pqC/Xcrb9CWAeYDivY="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.5.4-alpha.0_1636529418495_0.5047279524155"},"_hasShrinkwrap":false},"3.6.0-alpha.0":{"name":"@sls-next/aws-s3","version":"3.6.0-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1014.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.176","@types/node":"16.11.4","@types/ramda":"0.27.49","babel-eslint":"10.1.0","eslint":"8.1.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.2","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.4.4"},"gitHead":"8a0ee431b57460204d0e1a4d4333e1f93a4c2b01","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.6.0-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-k8iKbZRH4Rjkg5+ofqTFzBJfCPZYFkwSv53TU5Y5e0TVhIOhFau/ryrazonPqFVy56iLiMmk9P1jqWMnaAjudA==","shasum":"f7030b7a27dd65aad8c6fb22fbde8e5a22547f9c","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.6.0-alpha.0.tgz","fileCount":20,"unpackedSize":57550,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI/5e+cUMIkkTd9cnbYWGTIU1z2ebeFapDHAH7JTc6sAIgAUliJzjq1nXGSXnmbhmZn2d2nVWYrkcGLpb6j2q1IUM="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.6.0-alpha.0_1636852927189_0.27999293054015095"},"_hasShrinkwrap":false},"3.6.0":{"name":"@sls-next/aws-s3","version":"3.6.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1014.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.176","@types/node":"16.11.4","@types/ramda":"0.27.49","babel-eslint":"10.1.0","eslint":"8.1.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.2","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.4.4"},"gitHead":"e4d66d6d636391721a9da86812ed577f5a5080f4","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.6.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-OtpXqIayZD+u8ACo4FJJ0WoJRfrL2G01g61Gw5AwHhcEXRtR5jZcgVK2Og0ne1R86KU0uJ9E5yQe9hS+or7mNA==","shasum":"c4f767f14beae7160e51f0972a890ae206c08a5c","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.6.0.tgz","fileCount":20,"unpackedSize":57713,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtw7NP2xGmoVwXllMeXfadFLpfvN2D9P2736DwWwMhbwIhALdDTI21KUn2XhgepiONCirJOvydyMOMpbCanp7nJbjJ"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.6.0_1636853714899_0.5123619773975749"},"_hasShrinkwrap":false},"3.7.0-alpha.0":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1033.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.177","@types/node":"16.11.4","@types/ramda":"0.27.50","babel-eslint":"10.1.0","eslint":"8.2.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.3","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.5.2"},"gitHead":"07b779507b72f9bef8cbd51b943332d5b8791aa9","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-ScvtnfALY+XIVxWvU7tdzNqtHTvzNflcYa2ALydWzlcRIsy/f9/X/9/gcGOxV6NuFZDPXSOtoBwnIF3ES4MJJg==","shasum":"cec494e20330cc917b295219276d8b310b4bfcfc","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.0.tgz","fileCount":20,"unpackedSize":57908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmaqOCRA9TVsSAnZWagAA3J0P/3jR+ewfxt4WbJUbtwLw\nYRaN06lwZknoNNTK1S18f3YGNgzb9UHYTYAU+w2wy8HjWmV+qkeFKiYRow4n\ninoBLwCHpHPL+2hO/iCRo+3qcqmuXTbi2kIk7NV085qjPCaEcIW2BIAbKcgY\nrSERyoejdVMMz0cw/n0vYY1CHoxXsiIJeToKodCOnod8D3ZnEQTH1XtmVZVY\nHVZ950qSYWpyuoPqEucIxPHtwHKhKsCIm6xxnlVlYR1rl0mulB/SgIvp9UZ/\nPqAgb4JGh+P7feUjsJG82rTAvYYPRi+TEoLdfnutyO8fmLykMF5kHZfTPj4Z\n3PafOTLDhCekua7usuNRW84184Gu7pC3VtcjA+0Q32myhKCHX7XBVSjMLbSJ\nEShzTzESGRf8dpkXVM/pAjIBDQd0rzVszb2/CpHaZjC/HrIxK44tAZOrDOgT\ntIG6ZsLsq7ZnNjqee91PEXn1kTMYdIRa9u7ZG3gE4kzaShAuwupxXVnMeMWR\nFZ/vF5uhoDlfWJmtJDipU1JpSCqelFWFKmNLtVV2DcRID8NNTJTUurWUv0Xv\npOG6DBfWgKSLafCh6F/7JfDP56KfV28Q+5lVWaNQHEaRL2VZh2eu1vO8zRsy\niYxipO54X0FRiyAcJKepFW1sY9KfizQr7QUfByYKy8b4g4GeWGIMMU2rwG2B\nUPmY\r\n=sG43\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC505epx5Lh8BdP2CNAskkg0bIoqy4HO+fxXcF3Ex/9OgIhAMkAJXEYNhokUUEriqeHpRe22NWwUs9X/hF3KmzW07y/"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.0_1637460622615_0.4659358548962613"},"_hasShrinkwrap":false},"3.7.0-alpha.1":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.1","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1033.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.177","@types/node":"16.11.9","@types/ramda":"0.27.50","babel-eslint":"10.1.0","eslint":"8.2.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.3","eslint-plugin-prettier":"4.0.0","prettier":"2.4.1","rimraf":"3.0.2","typescript":"4.5.2"},"gitHead":"d58f28fcd2a0f2dbc42c01d38e6583ab1f951973","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.1","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-sxjnkl62zwrzpvqeClJ+DMXAEB7vwJQavf15Z7pkLTETx1Nq7bhSXkEH79NFtQPfJha/xwcGAVOmB20X8deoPQ==","shasum":"cdf3b62216b694163b31f755794973012e39c72e","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.1.tgz","fileCount":20,"unpackedSize":58095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmfagCRA9TVsSAnZWagAAS98QAJJAK90kuXHPynyO3U2+\nm5ljLdrYZ2mLn5PIGQiXAE4S4l4zTYVRzA0CbAYQ//1OHQmSrMj+YTnEd07U\n1eKEvctByhQRf+6iXd6axp6eXPJgzSxkhbZKz4ZbGh2ICTbnYqTfbL+ToS9I\naQYGEcIFgYFe4fPin1NSl4k/dzOLI5lShj+VRsjLCwlSYKK+FnoaV31ggxHt\nfTSTF4E7VuOGnFLn499He9g84wJxT0AIPobjOvY7shPlu5wUv660O14N1yuo\nj7vxxp5+5/zmrlhaglUG33WuOt3Q8MILOKTLPQjaXBmJliIuJygARJJS53zD\nRMCsLVOAbvaTKKC932C60DJTQrPQfl67xaadnY6a8uGFQZVHdXvZTNt6pmBp\nOvfAGXbI4DgOEhyvbLEGaqCh2/LlAY+O0qYOJlt5J3TE57cwWwtMWnB7pbqU\nuMjXmLkT94dkZ2+4S9iI4iAzQHAGKkm0zAslZTb0j9Dhhwm/FQS8bZJbvOVe\nJk9ij417NkEbtfPyWvx75OWwCAl13p/eGm6NhHKqNw3fWACEoVwpSViL0U1b\nVOxVvLk1nhl6J02qhbecT+m1kqQl8pXUXzVy3Nc7NwMiQlsLLRQ//eRRGhC2\nSkXn1cQXMfkM5T7JnaEJCaZlOkY9UHPHndlCTtMNuKUUJgrXr20McOaNlJs/\nPKni\r\n=n65c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDayG4wFtlshNgDpwe0u5VaAxou2RT1cspKl0ZGJa8S7AIgePy0EDgxuYzZbKeyofWp8IBgrO0iqn6+FFgZ4BLbvCw="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.1_1637480096170_0.11794296033317675"},"_hasShrinkwrap":false},"3.7.0-alpha.2":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.2","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1037.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.177","@types/node":"16.11.10","@types/ramda":"0.27.54","babel-eslint":"10.1.0","eslint":"8.3.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.3","eslint-plugin-prettier":"4.0.0","prettier":"2.5.0","rimraf":"3.0.2","typescript":"4.5.2"},"gitHead":"e8359837bded63b63e7acb50f4668dd7dfffc7f8","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.2","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-pD8IVueB6CjKypa3cFe1r2NrmtisgqTastbuMZAYIcsKc954drTtpx8/JInxfNOm+OPqLYV9Tvs6HEU36GScnA==","shasum":"db4022045af2bb2988cd2f44c210aecda71b0b40","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.2.tgz","fileCount":20,"unpackedSize":58283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpHvdCRA9TVsSAnZWagAAaUIP/1+EwW1d5fr3b4gZu15R\nF8ydzuhqgfcjurFOfs1X9TU9rp38AwcWFC5FHQ55ditSDOMniG2DpqabgB43\nkzfD6tiMmXdS/XiYm9eJtm98NmRCe78omyYd+wpfn9IYE700FHpk7xs72w46\n0AmARq8WfOPcic4w9hCZKxQIr8h6KEL4C7VG9ueiHh0diCB/PEn9HcsH3xGW\n596REyB7+1XHy1x/ArO48/GovmmH5vkzD4ymxldyn6WHTblGmGT+7I6dA7ic\nQD6VqHYdcD3excGcv1mPp1Cv7pkB01DA3EmN3/qRSGRy3cGOTPb+f4WK2DfC\nR+RxsNo7GJCQXTgNO738/Tkx/q/oLzgor8j/vBIOpva/iwaakqZwMXskrePk\nR/jC0k8WQu4qPoU++6Cok9b3H5Y6YgmjgsDV87cblZ2zdWuaUn3bX+95FBWv\ng9b7XtMfAT1Q9Hk9hRDg0Ij6MhMnCOhQHWQS2+pnJcv9OacwjqqkERfOGz4R\nd9nQSf0JHzzo0dfDv7hnJ4h2QqczVWA+mOIr5w3ymMfmKl3fp1MIdXnuER3H\n/MaRTX4wZwmO7Eh6VUYEnLpco9vRVAdUerG8TWxV4pnitzEPUQiAIz3x07ke\n0AVc98hDmP1+ofPGXOlVg91WIN8ODSLc5pty48BwaP8iPoNZ/dcFE69LP04w\n4KTM\r\n=LRQl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3vpx6COL4YQG1EkjeykGWPlooHi4pgKDq7BW0rg06rAIgLSO7leK0rlRwu3Q3bcPc4wdRQjOhYG3K4fLG6fno3nM="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.2_1638169564955_0.39301706734848296"},"_hasShrinkwrap":false},"3.7.0-alpha.3":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.3","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1046.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"16.11.15","@types/ramda":"0.27.61","babel-eslint":"10.1.0","eslint":"8.4.1","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.3","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.4"},"gitHead":"af3c40b55da382d9240151a2c2be55024602cbb8","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.3","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-G3LaO9Xp5n+IWapxip4L4k3tgSll5G7l2buXZNRaYQKIsB86APYtgDqKaawNHb0o4Jx/xOQkeG84I1f7rxtMWw==","shasum":"a335e7c6fe5db770cc7d428d25bb4705fd25de22","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.3.tgz","fileCount":20,"unpackedSize":58470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhw6WECRA9TVsSAnZWagAA9woQAIDMDvgTYrWT9Ktx+orN\nQ4qBYHvgM058WUzIPjAKS2ndGEfXDHl3hQ5qtBDOxd2vd7Gu3GDhFGC/Sqjn\nB98VqpRmX1BLvuntpbtdAcINUyG/CRJgqMPyY5pTnIyFld3Awsu+goHTVBjo\ndnNCcQOItRhbhGCsahna/ISkpb7ehpJi3chQMJ9l7Aps9U1EfYa2vmWDBLc7\non+jTrLZD9vW6ynFM14GY4SiUB/HyCcodtHxB8rq+if08p8rdRJ7hwZw2Zc8\nZSVJuSyfNSve7J+Lj15FYEVYbQvQjtrbCF130JLLyyMkIbBRdAS5ksaxrCyw\nWz8kpNVLZMcGVfY1DM6f0RIIl8q2yMEJAJESB9IxRt2vElL8HCLanmUnwY6j\nxiVBS2V77BUtyOaxyc6pV4QMNnKL/doIgb9YuqgaDUGUJfksm5Kejo6GDKQj\nwrUfPTzhxpTIdkg9rpB6BMIZa601L0vUq4OJZSg3tCIOxHQb3aTx2Nhvc0hG\nuH43urfelgF6+uEHMd+ru45FSfCoQGRIgvj01LayCAfEGgQaFlnRKIu8ipvv\nrtI8k1aSUyDcqxQ0yuQ/sQZFPIUhIGGc6FqHTl9vNI0vFJKlV+qGqGa7ojSb\neHitCITc4Prn44gpEngnFTsz1+Od/h6s53sbysK4li9qUG9OMVKMFxFnh0d+\n6G6U\r\n=1iCA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnV4QZc1gWPgiz2a+uf8M/Ho+7iOuuenmhUGGExdok9AiEA7iAknl9zVtKj7Jr6i1wTp71Hy9zPn+s0WIttEYReO5o="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.3_1640211843945_0.5209386501686646"},"_hasShrinkwrap":false},"3.7.0-alpha.4":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.4","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1050.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"16.11.15","@types/ramda":"0.27.61","babel-eslint":"10.1.0","eslint":"8.6.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.4","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.4"},"gitHead":"13acb798bc000f8cf921b89450a7962ce624f851","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.4","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-U1/xZzhbfRBCzL8JyxzRK0f/Dyn4Pw5rvem5cSfuk4KVcOqrXlyFxI7t1ZFth/sc8TWDCjOX7JaI514m4jcymA==","shasum":"59f9f91f5151c398239109f00d32a2798b402fc5","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.4.tgz","fileCount":20,"unpackedSize":58657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1UHbCRA9TVsSAnZWagAA0JgP/17eZEBJIf2kEcZfyACv\nCiCTs/hkQSi/uzE7xwNQuNMHmrKTPUFRMdVMZRJBPj2EesYfUvE7XIUWnk2u\nnKblFnsLsU1BPNAS6/M+dZUlW14gjXHEuT7bQ0HMRD5JK4ojzb0HihltKh+7\nwjHETAhoofW9JEu46MkOyNFlDl0GcipnwxT7dWRpstEC/Lo66NB93saxPxoQ\naTsUyXmpHLIaag+W4TIaJGh7Wk7X9TKup5Z4uz8WpdN99l9gBmCqRh3tROhb\nJnKUIlEFxW7KbZQkYEJO1ioMyAEEaZug2U6yDN/Wp5WYFnv+fZJuGVnViSig\n+1Ns00tkoaQMROWdzX5JI4RxoART/C34DwtMycu2AnkuPQnSZw3Ge2c6nf5E\nlN1vPeo2yU7RWkFBmbAMtqLTPWCJNq2M6K5BYmhrvlt84+1UWWJV5zGkUCao\nGxSLSvH4SMzHmDHAnoOLHA47JxnrxUH9oR1NUxSHZzd9QOF8y2ln9HXL0dtO\nkbZm970pUSDY9/nUwfqPjGh43xWkvDNH7d15m7rhaSe5lIPlLr31NH7VRLBv\nOFNF9NwTjLwAGmins0gTZArwCBI6hljSy6yUIDCyU1enKTkUaM9VPB2fz6O+\nROhORx7G1Cw7tdHmOWbCQTlXIEaUEazpgX3lfPrJRBAHnYaJK80h8IMEsxkr\nJx/y\r\n=t+F/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfyOCqA88wfyHC7KX9QGQpmYVS36rPGrsF3/DEKBiCxwIhAIXHNp6PQQm4KoKxcp9jgyaDjZVkrPzCrzeaWH3TwcLG"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.4_1641365979572_0.8454016337038344"},"_hasShrinkwrap":false},"3.7.0-alpha.5":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.5","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1050.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.1.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"16.11.15","@types/ramda":"0.27.62","babel-eslint":"10.1.0","eslint":"8.6.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.4","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.4"},"gitHead":"669f59088fb9d107c3843dd13b692eea1a1229e4","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.5","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-cMQhUBtZ0I0xTEwHej50mwN+EUhAHUCSxjT9pUTBHqNryovj0Vn0Dl1twBJ72n+XxiU08310j7Z3YLi1qCkDsQ==","shasum":"71a8f1dce118f1fc37cea503ce4888d7357fc6b2","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.5.tgz","fileCount":20,"unpackedSize":58844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6QoXCRA9TVsSAnZWagAAfXMP/3UPdmISmt46/MVue6QN\nP1SVQwj8/IkhksuUjI5m7mqDvSAYQr/KaGg8IH/BXraUz45s3HvISJChehX2\nY2ws3sWbYqDRHfqzuuOFv9qEle2ib4LRR+PTpIkAB3mzVKO2eroe876kFUG2\n8nc2gZN6HisVfxPXKo0WBf9Xsf0RvkplNMHfqPaVIqtw35wLp1W6rM8RRu36\nyUJnwS7N5fcfqp5Lgi4cuCNxyMBLOq4J9a1zIqpS6GRxM/m3lUpjXJOhsTCC\nT6DUczpUlqQIkNHGg3Oi9VkBT/ziWC0QWKi4AInvb+4pCEdH5zs4wzC8VcHr\nPgiaqO6tG9Q2crEwOWeUJ57wap1cJzAqAgT1MjiqhTcQZq3dNYQxmNtjYh2w\nSEx9P76eUOss9hMMWjadqqAnqfoj+/BTeZW5NqzNi/R3WqCqAhnS8Z9xIHUL\nt20znMWoyFbqc7LGI0tnHRYzVXM9nCK2SfE6XjZ+YapzDzdXXridXAu5sDmv\nB1+AT0VCI8GQYKZkkF59lm086QfGKz6Q7564hTpiu6ZIkosaI3wCy1BHkLyv\nUjI/gdy3NjC/BpF50DB5cfNjo95AIDAdvrO6G+x+SGj3CPY5SFn4v++wc7dG\nkWYpeT05jabIJpFArv90kjKmbScSuDYu7uXFgu87alA3q/P9DNhnLo9IPRY1\n4Ubk\r\n=bXDZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgzT+OamqUGrBhIAAeb7NE7NMdFse0dOS43G/Q/uLPVAiA+c1Z+fOEVaOhCUF2Wf3ljI3NOnz8mlye5wu+EoAGDyA=="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.5_1642662423858_0.31207938732238305"},"_hasShrinkwrap":false},"3.7.0-alpha.6":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.6","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1062.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.3.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"17.0.12","@types/ramda":"0.27.62","babel-eslint":"10.1.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.4","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.5"},"gitHead":"07643469c27f0cd71f723ff8b6e448e7704426aa","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.6","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-xP3R7GXD5WtuCiiS6j0Y2bnaAXFSr/5awm0P2z2ChsQ/ALH8S/LFpZDF9gc02wwPs3MoTN6tyRjmdFIhSf4tWw==","shasum":"511244310c499ea060061964d7e2438700ced948","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.6.tgz","fileCount":20,"unpackedSize":59030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8IpVCRA9TVsSAnZWagAAjNQP/3cm71Oi2d3SFNRNydEl\nr1KP1pStYi4vzeWoH3GixdrVPI9jGuPBIXC58j0UZN4sEN7shWdzsb5Q8Kob\njOWS1ktLH9ZBtnzoq7cgkEFeNHAj7MlMF3whIR31D4ay0yQwSeV4M0YNPN5c\nELO7HIv2Y0lIxoSyUaF5g6Oi3IJk/pKBgYqTSO5QMGSMSUfyzLag3QeFY9ct\nouJVOK1Ny1iZtGThH3PCnpoZfI5TtwvUYu/hyl0fgILY7Dxc5EG9RjtonlTG\nYyjHYeUR0hy0Sb9cssKLXAdmf3LRyaPa16/WzjnxjQq6axeSr6A8GN/WrCQJ\n7WvdWscxzP1VsHcfSsghcICZKeCOeLlk88yeX27dzgo43f3lLU3OvexfDOdw\naXWBocRTzUrrWKR65a9KvPPh/CkpSKDc6eKZguYt7G20RQx7Bi6xn7xNC2wv\ne2WWyFm9CGMpd6Lxe3rP2z9WPREj2fKEbnUhF1UxcoGlyjzJc6zYFYPpJWAv\ny4LgKz+lPj+xbBXCJJbHG+syiArFY9Gj9724jTJrHmnRu23q242EPP7/VwFk\nnbCijHOPPYxncFL05xVz2h303/ugmcmvKWDc5CmgQzsLZ+aymoa7Xy7Vb3CX\n/rNeHLPjHVYezcEVKFEIjV3qx0PJvOQ5Iwxkdlzr0WkZrd5R5IeK0yY2gbe1\nqBPe\r\n=GA1P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKQptA/A4kWJHVR1i330wh7InD+pqvwed33Oese64ILAiEAvx+vPIG+F5LCXGYE5Cffp4nvjRiXwRRu+VcVDFi4egk="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.6_1643154005766_0.17759650351659273"},"_hasShrinkwrap":false},"3.7.0-alpha.7":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.7","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1064.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.3.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"17.0.12","@types/ramda":"0.27.62","babel-eslint":"10.1.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.4","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.5"},"gitHead":"9facd1527af107b6e56f096080976d44a0206f3b","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.7","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-BgQDXxEQ8he/uBM7V/U1cTTG8oRtT5w2La5QtYDke8ted/4R6LWxzd2BMcGAGQkspUFAVnSDKOtdMy0SMI5Akw==","shasum":"2939fdf82283d99ee8de2f3d480be230806abf99","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.7.tgz","fileCount":20,"unpackedSize":59217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8lgOCRA9TVsSAnZWagAAYMIP/jwIfBxsMSaF+V3cZA06\ne4ohtZHQBhhTcEW2HfTzxRm7er6MKd0FNuJbhIlh6k94MPCqENPeGtvIOe4l\nNjXcJNJucvKxA6DOz65aOqcyr5AY/J/D77ohsLbReU7hmmvf35UEzOhqKXAD\nFtDPJOVYi689S5D2g7YHyI7XRk3hZKXVaPsb5LkGkhj98kO066hFzb870C1t\nA3h4DcLmoWf9El60BJm5mFneHc9U/XPwt1hrCpvQQuOyEXX1aKDOkV930Jq8\nrmO5pxSpwudVqjjT8i5XTezymWR2VhTxpuUdPqxbsbl88Uzi5iB7FHoBFGrW\ngG1scHHYNA0iX333prXEs7tafxZrOTRCfZEa6p94cdqmbsuJT/JZVJUVZqV3\npW8PIZFiY9/2AzKVNOVo+3GBFlysVADqf0dIpJAGLOIAgW95UdhlXyet6szu\nd4XLX236IO+u67xr+Uu+g6kathxZCJ7MBOkISapsxzq07OS7zAtEChUo+1Y1\np+C3OnL+eHFm698v53iC1GE4pXx7l6M+/ub+lCdSrQG5iCtQViyqOeI+6Uho\nyDqKZ8EalzzprRffp8BX8yNjx1owvbdGc+A9abDuMW2l5ltWBDCKNzV7u5v6\nkqqtBGgeDilt2/rIZIF8rcplC0lnE1GA5irOA8mQq3JZn/y4W1YyJlJ1guOn\nwQ6u\r\n=SU5R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAiW9So8I3+Sndd9AeKZ5oVzjXIGpIgncDk3aj0pK4YtAiEA7oH6zOXQcFBL8Dfz1Hoiik16FB3mztwrM2AS26iNlTQ="}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.7_1643272206831_0.5690659337754307"},"_hasShrinkwrap":false},"3.7.0-alpha.9":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.9","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1064.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.3.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"17.0.16","@types/ramda":"0.27.62","babel-eslint":"10.1.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.4","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.5"},"gitHead":"426b970a4a1e348d71f4d32181941b3228676f02","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.9","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-UkWUflceuBaHs2Sjm3QwJF+OBwvH2wP3l1yieNwsxcRuErRC85CV5lqJLDtEmouR/YALC0TSfDQkmPi4PwW98A==","shasum":"f579f56628c92b7c7c09a46771232995a89d990f","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.9.tgz","fileCount":20,"unpackedSize":59404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiD2OYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoF6hAAgN/GQXJQ6kaFlAhSLX5ZAJD739bvLYRfiqW3h5lB07ezXjkR\r\npbdZXpnC00vt/z5W3z9/w7t/wJkutQDSumDn03FP5t5773hWjjg5s3n4kHIt\r\nlV6exOFclv8suGarbQEj7T9oUTZlst3IxGOte27YTZeXrdKGlHXknkbmFxRe\r\nwT02j9Mb3rXhmB4kc0PEonIbjfD+PdtiSwOpBUreFHxauCP7FsNuDWrfcQ7U\r\negYechNG80mYBqrem6cbxsqCIryPbPT2SvusThE+ogLH9yS602PHm3myzALb\r\ngjjLItCOm91QY1vYkvyBI5X375fJqHH3quVUljc7VYX8tJljH1s0nh/Ie1CN\r\nHjM5gIE9idBfAXHP/sz5j2Wip+8vsHazi/PPMIk4ec9uDx8K3fCH1RrdGVMw\r\nPImBqh/3I93Grtbpt9KMS4Ka+BfzefzKj7DZzGlm5RLkYxBfmh5wTBOqibKD\r\n3hauTByzSSq2jTg8l+0cHlZ5PAw4PX9nMnR6PpYSBzBf80Lj9afh2lGUGTrf\r\nY+2tltCXGXVhWKSSo/qvaQt51Qqq8P6tDsH2bCO98y+3UsNYJAyMtvWzv3CE\r\no9rX/3PhcrSQdbSWed/8+O+Kkb07ORNz9eZ/BOWvtl3R7NasI5MCCVE9pQMZ\r\nh2ecVgXPZ7LXPXZMGV1skFvJuEcY9eVoa+s=\r\n=u543\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8egk7m3sPULIiTO6SfJGVxxl0qF/afMAqpVbuRUwMRwIhAPXXYIo2oc4iAJ8l77b+3kVA2m5+AUJiJAMLjE7nRhTc"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.9_1645175704066_0.7049334149695099"},"_hasShrinkwrap":false},"3.7.0-alpha.10":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.10","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1064.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.3.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"17.0.19","@types/ramda":"0.27.62","babel-eslint":"10.1.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.4","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.5"},"gitHead":"bc59012e62e59eea55b2123416d2a380d0dbd671","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.10","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-pamldaXdUvHVkeLiWd6gUCX9C5aB8vvRM2b23fBVgNTIEKbDolR1oE0iG9v3JAkLnx1bBA5nULj+tUIs/1PSiw==","shasum":"395929626cbb4436b79934c7b34c3e063891e00c","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.10.tgz","fileCount":20,"unpackedSize":59594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFd0aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4dQ//X1T/HdWHS00WltmW0LuV/nVZ6cyQwKeYcij1aeubrghsmY/j\r\noYV0VD0kIEosJzdFtV+OWlDmSsic8mn8IWI/8tMqTRVygCtg+xCgxbb8pRQu\r\nJkeFHWQjmTVPcfu3VBodMbjXfIjVck+ZoUnu8CU2U9cTEe7xUzQWxdy1Cryu\r\nNqE2Nd5a+mbugd7XyG32ygAuvyVovVXOtRl/tlsybA64psKHou3GX+E4kI1f\r\n4+Qym2SJNiUQLkuVVGK8dIx2+tgKEEFh8DSlmPuacCwv6burEfYoUuh2fDOc\r\nxaamPaa0RNZQHsWcgS/SWyOzYbTtGSeBUJ24v5wpivS6xwWiPx+Bb7rMZYaX\r\nZpcJUjkzublgZwYiQHkxmLnnZGyXh01at+dcmkZKU6Hss7TzU5jw//LeHOch\r\nhrRNhiZ5JOfSReOD7V7N0zPMq4jIDGI4fHypTjV5wdQVtz7A+ndUEvOxnwrp\r\nBTIFFkCc284mbU8EtebteRXPdmPiiwCOVdOZjP+oAFWxGKlC7ATc5QQWhBCb\r\nCyDYzrQ8AR/8HHbuThoiOV3MCGrMAOJxx1WJvfq/wyhlQHFM85PmtGXwfuec\r\nhUEoQhS9Ntgo21+pVgGocyMsur6hMwKIx229hTIwNeteD8NPBbdJ7SE2h5Kx\r\n8wTzZ1qE05HzEb8gB4JjgmM5kPXRVbkvbQA=\r\n=C59W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6cNcfQbj/8vNTidxD8ozQYrp+GW2vA5FGRmsk2NPSbwIhANqnXdao4py0niuIxuxhT36JIyGQVXwj1oU+RDWOYy1h"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.10_1645600026114_0.4751621841281226"},"_hasShrinkwrap":false},"3.7.0-alpha.12":{"name":"@sls-next/aws-s3","version":"3.7.0-alpha.12","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1093.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.3.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"17.0.19","@types/ramda":"0.27.62","babel-eslint":"10.1.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.4","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.5"},"gitHead":"e079765c29b8582db0fbbfa5ed6b053b99f04ace","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0-alpha.12","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-Phu3MEuKy0aKPBAKX9KAPAc1gZ+0YQfTuxsa7YZNTH+NE0Eq6uNCUc9kfl7PQDaRy0dWOKDUIiuZ2MQ0ig0WWw==","shasum":"2b249e12ce5cf62ad902458c3c2dc8d4d90a5167","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0-alpha.12.tgz","fileCount":20,"unpackedSize":59784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMNtKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojaRAAkN4x76vBcrddr/0vphr0Jx/yO50g0c2O/DkB2mWne2TGYRvk\r\nI/BNhus6uhOumpgBtzk/yUqYIvZL2OFJAd70c0B90W6AWI0w7bBJdpXn+pq8\r\nE8yWz5qHnvKgIolsLwiBIL6BM3XsIhMGTDM7DemCkYSOXUWgZCKobR243Sy6\r\nKh6ljSb1bEwtnLWo0FT0GO0Ht/fLvGKaJJ1Odx8Ir9TlaPo20o5yl25mNwwA\r\nxfHGICB2Nu5t2BKR7IMGdCP5etK6tEvD0kO9wpl11OCOkh4NZrjgIytl3Nm8\r\nGQ0/ntqXsVTXNtrTeALc+NDWLEOTLL+9eSXzL56ZyV8dmgDPMj/ib2bHDSns\r\ncUPbIIYB3QI4Y/bfhd+cjvXjWc16mi9EuVircIa9nkEd+eMAHNipAIqhvX4m\r\nmC0gjxPVbTm8V5AWYvU1zLeIj4/qHLj+6Z45bWohHej5E3av+xYSXwWLzjom\r\n0P47Bhfez544MlEFTcXQO91GEbfgUtk5KJyPttIJsN8Seqto0An/j3jb6CiA\r\n60cOhuormwPJB9lfLJI2ogajNDJJLEIP4TtA7LV3yKfsWm/c34LTLQW8SxKH\r\nQWPJmI3CCQ8i6SjjEqkhKPDH+Gos50iiJssvuqy9ynNkFWXEe2NxQ0tjVv9M\r\nC501Ya1qscG7GrS6aTHYFFrCG6FiRt8QIG4=\r\n=T4+Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpbqQoAeSCCWCEyYW753kWeLuFADMMzdz8eZJsgQp/fAIhAN6yNVEKOJaj1twKyLZbRfVOyMBNwLNmssPFxo0/dnsp"}]},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0-alpha.12_1647369034499_0.49228194783528223"},"_hasShrinkwrap":false},"3.7.0":{"name":"@sls-next/aws-s3","version":"3.7.0","main":"./serverless.js","publishConfig":{"access":"public"},"scripts":{"lint":"eslint . --fix --cache","clean":"yarn rimraf dist","build":"tsc -p tsconfig.build.json","prepack":"yarn clean && yarn build"},"author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","dependencies":{"@serverless/core":"1.1.2","archiver":"5.3.0","aws-sdk":"2.1093.0","fs-extra":"9.1.0","klaw-sync":"6.0.0","lodash":"4.17.21","mime-types":"2.1.34","ramda":"0.27.1","s3-stream-upload":"2.0.2"},"devDependencies":{"@types/archiver":"5.3.1","@types/fs-extra":"9.0.13","@types/klaw-sync":"6.0.1","@types/lodash":"4.14.178","@types/node":"17.0.19","@types/ramda":"0.27.62","babel-eslint":"10.1.0","eslint":"8.7.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.25.4","eslint-plugin-prettier":"4.0.0","prettier":"2.5.1","rimraf":"3.0.2","typescript":"4.5.5"},"gitHead":"e7af51980079a59fbb9ecc3d35c878c62b919fc7","description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","_id":"@sls-next/aws-s3@3.7.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-Gzync2q3WWk3O/iF+1RHvR+HVqtFEsNl7FZ7BVynZyoCSUtw4wgQCNwR47kPFM2YhuWwPF9mUifhqUQwuxp5Qg==","shasum":"8840c172baf4382da4854707f8476ab6d4fe9ccd","tarball":"https://registry.npmjs.org/@sls-next/aws-s3/-/aws-s3-3.7.0.tgz","fileCount":20,"unpackedSize":59947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD26c+LKgwUh15nJg1hK3r1t648lsaSOUc923ZBzwDZfQIgSkOKyQCZH9r75xxk1KHOLqrR2TY8yM+Cmkv+/65hl7Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRSWYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVhw/+IV2hMnFZfM+/GiWfrd+YjEK14gQ9FW6rolLCBY2GIRGbTw8M\r\n0n2U85uw2sr3cpw5crHNi1UohuELlD0tVDN6JbLz94gUaiEfjCBOY0GiU+4z\r\npmCBd7QOl34znbZj3jc4/2SMEPALZDT+4rP1G8GWWHTqSVBSMzE9UM3D17X5\r\n0WNSFj+DYubmQDjCLLLv4WTc+WTLIVqN9KKkrEsl5xcVTfmbEIGNEPgpLIZj\r\n6DxzKwgu/LgSH+51GCqreMb1IT0JM/gmT9FzsGHNcNt7qJKOBoEr4TVX1XkT\r\nroaKvRchnktXnKzXKqgIoooMMrasqhJE0/SDSeAHZc5bt9R2nlc0K/m4RvS5\r\nTQfebUxj+9oYgZMtfQ+GsCbGkB6ueV/70lfqbiL3IIixEjaOhQse3m9akVZL\r\niTOeQ/aBCmckh/YTQ0Q5cPFswzYYxcEyQNdEAASbQ3JK0JQi8mAR6NptkH55\r\nmG9zAnuqLhp7l0mSPlktD7W1GL+w9EW8qTvj4XbHtshGhVe9yGe7ZTjYNbbw\r\nz+Y8BQdS+ycOlkHkBr+Z3bCLmaD3P9+JXXNtXp5niWtR/wxj/gXKWCJO3Jdp\r\nrdrg9HzInAQHtEZSQjTNnLRLlnl3TVFRqk2AV8PUWADj7PJEdB3NmO+yuITs\r\n/9dF+NZABImUaJD8/E+eAKA1c0bJXn4gNgw=\r\n=rgie\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"danielphang","email":"dphang12@gmail.com"},"directories":{},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aws-s3_3.7.0_1648698776266_0.5346130934862983"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-29T17:06:09.825Z","3.2.0-alpha.10":"2021-06-29T17:06:10.276Z","modified":"2022-04-07T00:24:33.447Z","3.2.0-alpha.12":"2021-07-01T04:27:35.840Z","3.2.0-alpha.13":"2021-07-02T04:57:47.290Z","3.2.0-alpha.17":"2021-07-07T18:08:58.217Z","3.2.0-alpha.18":"2021-07-08T17:12:48.952Z","3.2.0-alpha.19":"2021-07-09T05:54:06.169Z","3.2.0-alpha.21":"2021-07-27T21:12:13.084Z","3.2.0-alpha.22":"2021-07-31T16:35:29.088Z","3.2.0-alpha.25":"2021-08-02T07:10:51.958Z","3.2.0-alpha.28":"2021-08-03T04:33:39.177Z","3.2.0":"2021-08-03T06:01:20.278Z","3.2.1-alpha.0":"2021-08-04T16:32:06.601Z","3.3.0-alpha.0":"2021-08-19T06:59:51.735Z","3.3.0-alpha.1":"2021-08-21T05:32:21.616Z","3.3.0-alpha.3":"2021-08-25T16:45:19.114Z","3.3.0-alpha.4":"2021-08-26T20:32:11.022Z","3.3.0-alpha.6":"2021-08-31T20:35:23.265Z","3.3.0":"2021-09-01T00:19:46.838Z","3.3.1-alpha.0":"2021-09-02T06:27:13.657Z","3.4.0-alpha.0":"2021-09-03T19:03:07.101Z","3.4.0-alpha.1":"2021-09-08T22:51:37.383Z","3.4.0-alpha.2":"2021-09-09T06:56:46.529Z","3.4.0-alpha.6":"2021-09-13T19:49:46.882Z","3.4.0-alpha.7":"2021-09-15T00:20:43.293Z","3.4.0-alpha.8":"2021-09-15T18:11:53.823Z","3.4.0-alpha.9":"2021-09-17T17:16:09.643Z","3.4.0-alpha.10":"2021-09-24T17:55:00.416Z","3.4.0-alpha.12":"2021-09-27T17:25:40.940Z","3.4.0-alpha.14":"2021-10-02T07:00:25.572Z","3.4.0":"2021-10-02T07:04:15.295Z","3.5.0-alpha.0":"2021-10-06T07:12:19.423Z","3.5.0-alpha.1":"2021-10-13T06:11:49.920Z","3.5.0-alpha.2":"2021-10-16T07:40:35.154Z","3.5.0-alpha.4":"2021-10-18T08:20:45.719Z","3.5.0-alpha.7":"2021-10-19T07:32:19.560Z","3.5.0-alpha.8":"2021-10-23T02:19:50.466Z","3.5.0-alpha.9":"2021-10-25T09:18:31.274Z","3.5.0-alpha.10":"2021-10-25T09:39:37.030Z","3.5.0-alpha.11":"2021-10-28T00:03:45.284Z","3.5.0":"2021-10-28T00:09:50.411Z","3.5.3-alpha.0":"2021-10-29T04:32:32.890Z","3.5.3-alpha.5":"2021-11-08T10:07:05.972Z","3.5.3-alpha.6":"2021-11-09T01:50:16.525Z","3.5.3":"2021-11-09T02:41:51.892Z","3.5.4-alpha.0":"2021-11-10T07:30:18.641Z","3.6.0-alpha.0":"2021-11-14T01:22:07.352Z","3.6.0":"2021-11-14T01:35:15.063Z","3.7.0-alpha.0":"2021-11-21T02:10:22.858Z","3.7.0-alpha.1":"2021-11-21T07:34:56.312Z","3.7.0-alpha.2":"2021-11-29T07:06:05.093Z","3.7.0-alpha.3":"2021-12-22T22:24:04.158Z","3.7.0-alpha.4":"2022-01-05T06:59:39.740Z","3.7.0-alpha.5":"2022-01-20T07:07:03.981Z","3.7.0-alpha.6":"2022-01-25T23:40:05.921Z","3.7.0-alpha.7":"2022-01-27T08:30:06.996Z","3.7.0-alpha.9":"2022-02-18T09:15:04.233Z","3.7.0-alpha.10":"2022-02-23T07:07:06.282Z","3.7.0-alpha.12":"2022-03-15T18:30:34.883Z","3.7.0":"2022-03-31T03:52:56.417Z"},"maintainers":[{"name":"danielconde","email":"danielconde9@gmail.com"},{"name":"danielphang","email":"dphang12@gmail.com"}],"description":"Instantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.","author":{"name":"Serverless, Inc and Daniel Phang"},"license":"Apache-2.0","readme":"# aws-s3\n\nInstantly deploy and manage your S3 buckets with [Serverless Components](https://github.com/serverless/components). Supports acceleration as well as file & directory uploads.\n\n&nbsp;\n\n1. [Install](#1-install)\n2. [Create](#2-create)\n3. [Configure](#3-configure)\n4. [Deploy](#4-deploy)\n5. [Upload](#5-upload)\n\n&nbsp;\n\n### 1. Install\n\n```console\n$ npm install -g serverless\n```\n\n### 2. Create\n\nJust create a `serverless.yml` file\n\n```console\n$ touch serverless.yml\n$ touch .env      # your AWS api keys\n```\n\n```\n# .env\nAWS_ACCESS_KEY_ID=XXX\nAWS_SECRET_ACCESS_KEY=XXX\n```\n\n### 3. Configure\n\n```yml\n# serverless.yml\n\nmyBucket:\n  component: \"@serverless/aws-s3\"\n  inputs:\n    accelerated: false # default is true. Enables upload acceleartion for the bucket\n    region: us-east-1\n    cors:\n      CORSRules:\n        - AllowedHeaders:\n            - \"*\"\n          AllowedMethods:\n            - PUT\n            - POST\n            - DELETE\n          AllowedOrigins:\n            - http://www.example.com\n          MaxAgeSeconds: 3000\n```\n\n### 4. Deploy\n\n```console\n$ serverless\n```\n\n### 5. Upload\n\nIf you're using this component programmatically within another component, you could also easily upload files and/or directories to your bucket.\n\n```js\nconst bucket = await this.load(\"@serverless/aws-s3\");\n\n// deploy\nawait bucket({\n  accelerated: true\n});\n\n// upload directory\nawait bucket.upload({ dir: \"./my-files\" });\n\n// upload file\nawait bucket.upload({ file: \"./my-file.txt\" });\n```\n\n[Cache-control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers can also be set:\n\n```js\n// upload directory, setting cache-control headers\nawait bucket.upload({ dir: \"./my-files\", cacheControl: \"max-age=86400\" });\n\n// upload file, setting cache-control header\nawait bucket.upload({ file: \"./my-file.txt\", cacheControl: \"max-age=86400\" });\n```\n\nFor a full example on how this component could be used, [take a look at how the website component is using it](https://github.com/serverless-components/website/).\n\n&nbsp;\n\n### New to Components?\n\nCheckout the [Serverless Components](https://github.com/serverless/components) repo for more information.\n","readmeFilename":"README.md"}