usualdesigner/S3 Artifact Upload
Upload one or more files (globs or directories) to an S3 bucket using the AWS SDK
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Newline-separated list of files, directories, or globs to upload | no | — |
| file | [Deprecated] Single file to upload. Use `path` instead. | no | — |
| bucket-name | S3 Bucket Name | yes | — |
| exclude | Newline-separated glob patterns to exclude from matches | no | — |
| base-directory | Directory that object keys are derived relative to | no | . |
| preserve-structure | Keep the directory structure in the object key | no | true |
| prefix | Key prefix prepended to every object | no | — |
| if-no-files-found | Behavior when no files match (warn, error, ignore) | no | warn |
| aws-access-key-id | AWS Access Key ID | no | — |
| aws-secret-access-key | AWS Secret Access Key | no | — |
| aws-region | AWS Region | no | — |
| endpoint | Custom S3 endpoint URL | no | — |
| acl | S3 Object ACL | no | — |
| cache-control | S3 Object Cache-Control | no | — |
| content-encoding | S3 Object Content-Encoding | no | — |
| content-disposition | S3 Object Content-Disposition | no | — |
| content-type | Override the auto-detected Content-Type | no | — |
| meta-data | JSON object of custom S3 object metadata | no | — |
| storage-class | S3 storage class (e.g. STANDARD_IA, GLACIER) | no | — |
| server-side-encryption | Server-side encryption (AES256 or aws:kms) | no | — |
| kms-key-id | KMS key id (requires server-side-encryption aws:kms) | no | — |
| tagging | Object tags as a JSON object or query string | no | — |
| checksum-algorithm | Integrity checksum algorithm (SHA256, SHA1, CRC32, CRC32C, none) | no | SHA256 |
| concurrency | Max number of files uploaded in parallel | no | 5 |
| fail-fast | Stop after the first upload failure | no | false |
Outputs
| name | description |
|---|---|
| results | JSON array of successful uploads (path, key, bucket, etag, versionId, location, size) |
| failed | JSON array of failed uploads (path, key, error) |
| object-count | Number of objects uploaded successfully |
| keys | Newline-separated list of uploaded object keys |
| locations | Newline-separated list of uploaded object URLs |