Skip to content
v2.275.0

StorageConfigurationProperty Struct ​

Storage (retention) configuration for the event bus.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eventsv2 as eventsv2 } from 'aws-cdk-lib';
const storageConfigurationProperty: eventsv2.CfnEventBus.StorageConfigurationProperty = {
  retentionPeriodInDays: 123,
};

Properties ​

retentionPeriodInDaysoptionalnumberretention_period_in_daysoptionalint | floatretentionPeriodInDaysoptionalNumberRetentionPeriodInDaysoptionaldoubleRetentionPeriodInDaysoptional*float64#
The number of days events are retained on the event bus for replay, 1-365.