CmdID / aws / aws events
aws events create-archive
Creates an archive of events with the specified settings. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--archive-nameThe name for the archive to create.--descriptionA description for the archive.--event-patternAn event pattern to use to filter events sent to the archive.--event-source-arnThe ARN of the event bus that sends events to the archive.--kms-key-identifierThe identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this archive.--retention-daysThe number of days to retain events for.