definition.yml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. title: AWS S3 / DigitalOcean Spaces
  2. icon: '/_assets/icons/ultraviolet-amazon-web-services.svg'
  3. banner: '/_assets/storage/s3.jpg'
  4. description: Amazon Simple Storage Service (Amazon S3) is an object storage service offering industry-leading scalability, data availability, security, and performance.
  5. vendor: Amazon.com, Inc.
  6. website: 'https://aws.amazon.com'
  7. assetDelivery:
  8. isStreamingSupported: true
  9. isDirectAccessSupported: true
  10. defaultStreamingEnabled: true
  11. defaultDirectAccessEnabled: true
  12. contentTypes:
  13. defaultTypesEnabled: ['images', 'documents', 'others', 'large']
  14. defaultLargeThreshold: '5MB'
  15. versioning:
  16. isSupported: false
  17. defaultEnabled: false
  18. sync: false
  19. props:
  20. mode:
  21. type: String
  22. title: Mode
  23. hint: Select a preset configuration mode or define a custom one.
  24. icon: tune
  25. default: aws
  26. order: 1
  27. enum:
  28. - aws|AWS S3
  29. - do|DigitalOcean Spaces
  30. - custom|Custom
  31. awsRegion:
  32. type: String
  33. title: Region
  34. hint: The AWS datacenter region where the bucket will be created.
  35. icon: geography
  36. default: us-east-1
  37. enum:
  38. - af-south-1|af-south-1 - Africa (Cape Town)
  39. - ap-east-1|ap-east-1 - Asia Pacific (Hong Kong)
  40. - ap-southeast-3|ap-southeast-3 - Asia Pacific (Jakarta)
  41. - ap-south-1|ap-south-1 - Asia Pacific (Mumbai)
  42. - ap-northeast-3|ap-northeast-3 - Asia Pacific (Osaka)
  43. - ap-northeast-2|ap-northeast-2 - Asia Pacific (Seoul)
  44. - ap-southeast-1|ap-southeast-1 - Asia Pacific (Singapore)
  45. - ap-southeast-2|ap-southeast-2 - Asia Pacific (Sydney)
  46. - ap-northeast-1|ap-northeast-1 - Asia Pacific (Tokyo)
  47. - ca-central-1|ca-central-1 - Canada (Central)
  48. - cn-north-1|cn-north-1 - China (Beijing)
  49. - cn-northwest-1|cn-northwest-1 - China (Ningxia)
  50. - eu-central-1|eu-central-1 - Europe (Frankfurt)
  51. - eu-west-1|eu-west-1 - Europe (Ireland)
  52. - eu-west-2|eu-west-2 - Europe (London)
  53. - eu-south-1|eu-south-1 - Europe (Milan)
  54. - eu-west-3|eu-west-3 - Europe (Paris)
  55. - eu-north-1|eu-north-1 - Europe (Stockholm)
  56. - me-south-1|me-south-1 - Middle East (Bahrain)
  57. - sa-east-1|sa-east-1 - South America (São Paulo)
  58. - us-east-1|us-east-1 - US East (N. Virginia)
  59. - us-east-2|us-east-2 - US East (Ohio)
  60. - us-west-1|us-west-1 - US West (N. California)
  61. - us-west-2|us-west-2 - US West (Oregon)
  62. order: 2
  63. if:
  64. - { key: 'mode', eq: 'aws' }
  65. doRegion:
  66. type: String
  67. title: Region
  68. hint: The DigitalOcean Spaces region
  69. icon: geography
  70. default: nyc3
  71. enum:
  72. - ams3|Amsterdam
  73. - fra1|Frankfurt
  74. - nyc3|New York
  75. - sfo2|San Francisco 2
  76. - sfo3|San Francisco 3
  77. - sgp1|Singapore
  78. order: 2
  79. if:
  80. - { key: 'mode', eq: 'do' }
  81. endpoint:
  82. type: String
  83. title: Endpoint URI
  84. hint: The full S3-compliant endpoint URI.
  85. icon: dns
  86. default: https://service.region.example.com
  87. order: 2
  88. if:
  89. - { key: 'mode', eq: 'custom' }
  90. bucket:
  91. type: String
  92. title: Unique bucket name
  93. hint: The unique bucket name to create (e.g. wiki-johndoe).
  94. icon: open-box
  95. order: 3
  96. accessKeyId:
  97. type: String
  98. title: Access Key ID
  99. hint: The Access Key.
  100. icon: 3d-touch
  101. order: 4
  102. secretAccessKey:
  103. type: String
  104. title: Secret Access Key
  105. hint: The Secret Access Key for the Access Key ID you created above.
  106. icon: key
  107. sensitive: true
  108. order: 5
  109. storageTier:
  110. type: String
  111. title: Storage Tier
  112. hint: The storage tier to use when adding files.
  113. icon: scan-stock
  114. order: 6
  115. default: STANDARD
  116. enum:
  117. - STANDARD|Standard
  118. - STANDARD_IA|Standard Infrequent Access
  119. - INTELLIGENT_TIERING|Intelligent Tiering
  120. - ONEZONE_IA|One Zone Infrequent Access
  121. - REDUCED_REDUNDANCY|Reduced Redundancy
  122. - GLACIER_IR|Glacier Instant Retrieval
  123. - GLACIER|Glacier Flexible Retrieval
  124. - DEEP_ARCHIVE|Glacier Deep Archive
  125. - OUTPOSTS|Outposts
  126. if:
  127. - { key: 'mode', eq: 'aws' }
  128. sslEnabled:
  129. type: Boolean
  130. title: Use SSL
  131. hint: Whether to enable SSL for requests
  132. icon: secure
  133. default: true
  134. order: 10
  135. if:
  136. - { key: 'mode', eq: 'custom' }
  137. s3ForcePathStyle:
  138. type: Boolean
  139. title: Force Path Style for S3 objects
  140. hint: Whether to force path style URLs for S3 objects.
  141. icon: filtration
  142. default: false
  143. order: 11
  144. if:
  145. - { key: 'mode', eq: 'custom' }
  146. s3BucketEndpoint:
  147. type: Boolean
  148. title: Single Bucket Endpoint
  149. hint: Whether the provided endpoint addresses an individual bucket.
  150. icon: swipe-right
  151. default: false
  152. order: 12
  153. if:
  154. - { key: 'mode', eq: 'custom' }
  155. actions:
  156. exportAll:
  157. label: Export All DB Assets to S3
  158. hint: Output all content from the DB to S3, overwriting any existing data. If you enabled S3 after content was created or you temporarily disabled it, you'll want to execute this action to add the missing content.
  159. icon: this-way-up