Skip to content

Commit d72b81b

Browse files
authored
Merge pull request #472 from hookdeck/chore/aws-s3-openapi
Update AWS S3 configuration for clarity
2 parents 3559108 + 2d7a52b commit d72b81b

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

docs/apis/openapi.yaml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -232,34 +232,20 @@ components:
232232
properties:
233233
bucket:
234234
type: string
235-
description: The name of the S3 bucket.
235+
description: The name of your AWS S3 bucket.
236236
example: "my-bucket"
237237
region:
238238
type: string
239-
description: The AWS region where the bucket is located.
239+
description: The AWS region where your bucket is located.
240240
pattern: "^[a-z]{2}-[a-z]+-[0-9]+$"
241241
example: "us-east-1"
242-
key_prefix:
242+
key_template:
243243
type: string
244-
description: Optional prefix added to object keys.
245-
example: "events/"
246-
key_suffix:
247-
type: string
248-
description: Optional suffix appended to object keys.
249-
example: ".json"
250-
include_timestamp:
251-
type: string
252-
enum: ["true", "false"]
253-
description: Whether to include the event timestamp in the object key. Defaults to "true".
254-
example: "true"
255-
include_event_id:
256-
type: string
257-
enum: ["true", "false"]
258-
description: Whether to include the event ID in the object key. Defaults to "true".
259-
example: "true"
244+
description: JMESPath expression for generating S3 object keys. Default is join('', [time.rfc3339_nano, '_', metadata."event-id", '.json']).
245+
example: "join('/', [time.year, time.month, time.day, metadata.`\"event-id\"`, '.json'])"
260246
storage_class:
261247
type: string
262-
description: Optional S3 storage class for the object.
248+
description: The storage class for the S3 objects (e.g., STANDARD, INTELLIGENT_TIERING, GLACIER, etc.). Defaults to "STANDARD".
263249
example: "STANDARD"
264250
AWSS3Credentials:
265251
type: object

0 commit comments

Comments
 (0)