S3
An s3 bucket connection info
| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "properties": { |
| 4 | "endPoint": { |
| 5 | "type": "string", |
| 6 | "description": "The full URL of the S3 endpoint (e.g. https://s3.us-east-1.amazonaws.com)", |
| 7 | "default": "" |
| 8 | }, |
| 9 | "port": { |
| 10 | "type": "number", |
| 11 | "description": "Deprecated: pass in a complete URL to `endPoint` instead, including a port number if needed" |
| 12 | }, |
| 13 | "useSSL": { |
| 14 | "type": "boolean", |
| 15 | "description": "Deprecated: pass in a complete URL to `endPoint` instead, including 'https://' or 'http://'", |
| 16 | "default": true |
| 17 | }, |
| 18 | "pathStyle": { |
| 19 | "type": "boolean", |
| 20 | "description": "<host>/<bucket>/<path> instead of <bucket>.<host>/<path>", |
| 21 | "default": true |
| 22 | }, |
| 23 | "bucket": { |
| 24 | "type": "string", |
| 25 | "description": "", |
| 26 | "default": "" |
| 27 | }, |
| 28 | "accessKey": { |
| 29 | "type": "string", |
| 30 | "description": "", |
| 31 | "default": "" |
| 32 | }, |
| 33 | "secretKey": { |
| 34 | "type": "string", |
| 35 | "description": "", |
| 36 | "default": "" |
| 37 | }, |
| 38 | "region": { |
| 39 | "type": "string", |
| 40 | "description": "AWS region (e.g. us-east-1). Used to auto-generate the S3 endpoint URL when endPoint is not specified", |
| 41 | "default": "" |
| 42 | } |
| 43 | }, |
| 44 | "required": [ |
| 45 | "bucket" |
| 46 | ], |
| 47 | "type": "object", |
| 48 | "order": [ |
| 49 | "endPoint", |
| 50 | "region", |
| 51 | "pathStyle", |
| 52 | "bucket", |
| 53 | "accessKey", |
| 54 | "secretKey", |
| 55 | "port", |
| 56 | "useSSL" |
| 57 | ] |
| 58 | } |