s3_setup_cors
Set up CORS rules on an S3 bucket to enable cross-origin browser access by specifying allowed origins, methods, and preflight cache duration.
Instructions
Configure S3 CORS rules for cross-origin browser access (Pro)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| max_age | No | Preflight cache duration in seconds | |
| bucket_name | Yes | S3 bucket name | |
| allowed_methods | Yes | Allowed HTTP methods | |
| allowed_origins | Yes | Allowed origin domains |