Resources
An S3 resource contains connection details for your buckets belonging to a single provider. To obtain these details, refer to your S3 provider's documentation.
tip
Bucket URL formation differs between S3 providers and generally follows one of two patterns:
bucket-name.provider-hostname- The bucket name is part of the hostnameprovider-hostname/bucket-name- The bucket name is part of the URL path
Please note this when creating resources
The s3_resource Object
| Parameter | Type | Description | Example |
|---|---|---|---|
| id | integer | Resource ID | 16 |
| project_id | integer | Project ID associated with the resource | 2 |
| name | string | Resource name | storage-europe |
| provider_id | integer | S3 provider ID | 1 |
| provider_proto | string | URL scheme (http / https) | https |
| provider_host | string | Resource hostname | storage.googleapis.com |
| provider_port | integer | Resource port | 443 |
| cdn_s3_domain | string | CDN domain name for the resource | s16.s3-clients.cdn.itglobal.com |
| is_active | boolean | CDN status for the resource | true |