Upload files from your chatbot to your Amazon S3 bucket.
The IAM user for this App must have at least the following permissions:
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:PutObject",
"Resource": "*" // can also be scoped down to your Bucket
}
]
}
You can also refer to the official AWS User Guide for more information on Amazon S3.
Example
do App(
"aws/s3",
url="https://example.com/file.jpg",
bucket="MyS3Bucket",
key="path/to/destination.jpg",
content_type="image/jpg" // defaults to application/octet-stream
)