Define an EventBridge Archive.
import { Archive } from 'aws-cdk-lib/aws-events';Or use the module namespace:
import * as events from 'aws-cdk-lib/aws-events';
// events.ArchiveConfiguration passed to the constructor as ArchiveProps.
sourceEventBusRequiredIEventBusRefThe event source associated with the archive.
BaseArchivePropseventPatternRequiredinherited from BaseArchivePropsEventPatternAn event pattern to use to filter events sent to the archive.
archiveNameOptionalinherited from BaseArchivePropsstringThe name of the archive.
Default: - Automatically generated
descriptionOptionalinherited from BaseArchivePropsstringA description for the archive.
Default: - none
kmsKeyOptionalinherited from BaseArchivePropsIKeyThe customer managed key that encrypts this archive.
Default: - Use an AWS managed key
retentionOptionalinherited from BaseArchivePropsDurationThe number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely.
Default: - Infinite
Everything you need to know about Amazon EventBridge on one page. HD quality, print-friendly.
Download Free Infographicaws-events