Skip to main content
Version: Next

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 hostname
  • provider-hostname/bucket-name - The bucket name is part of the URL path

Please note this when creating resources

The s3_resource Object

ParameterTypeDescriptionExample
idintegerResource ID16
project_idintegerProject ID associated with the resource2
namestringResource namestorage-europe
provider_idintegerS3 provider ID1
provider_protostringURL scheme (http / https)https
provider_hoststringResource hostnamestorage.googleapis.com
provider_portintegerResource port443
cdn_s3_domainstringCDN domain name for the resources16.s3-clients.cdn.itglobal.com
is_activebooleanCDN status for the resourcetrue