Adding or removing archives on Amazon EventBridge event buses
An archive enables you to capture events so that you can easily replay them at a later time. For example, you might want to replay events to recover from errors or to validate new functionality in your application. For more information, see EventBridge archive and replay.
Note
Archives and schema discovery are not supported for event buses encrypted using a customer managed key. To enable archives or schema discovery on an event bus, choose to use an AWS owned key. For more information, see KMS key options.
To add or remove an archive on an event bus (console)
Open the Amazon EventBridge console at https://console.aws.amazon.com/events/
. -
In the navigation pane, choose Event buses.
-
Choose the event bus you want to update.
-
On the events bus details page, choose the Archives tab.
-
Do one of the following:
-
To add an archive:
-
Choose Create archive.
-
Specify attributes for the archive.
-
Choose Next.
-
Choose the event pattern to apply to events for the archive.
-
Choose Create archive.
-
-
To delete an archive:
-
For the tag you want to remove, choose Delete.
-
Enter the name of the archive, and choose Delete.
The archive is permanently deleted. You cannot undo this operation.
-
-
To create or delete an archive for an event bus (AWS CLI)
-
To create an archive, use create-archive.
To permanently delete an archive, use delete-archive.