Share File

Download Share File.lbaction (powered by DownGit)

Action that will share a file, or files, or directory via Amazon AWS S3 bucket via a S3 pre-signed URL. Requires an existing S3 bucket with appropriate Amazon AWS CLI setup.

Sample AWS IAM policies

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "share-file-put",
      "Effect": "Allow",
      "Action": "s3:PutObject",
      "Resource": "arn:aws:s3:::mybucket/share/*"
    }
  ]
}
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "share-file-get",
      "Effect": "Allow",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::mybucket/share/*"
    }
  ]
}