interface StorageConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EventsV2.CfnEventBus.StorageConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseventsv2#CfnEventBus_StorageConfigurationProperty |
Java | software.amazon.awscdk.services.eventsv2.CfnEventBus.StorageConfigurationProperty |
Python | aws_cdk.aws_eventsv2.CfnEventBus.StorageConfigurationProperty |
TypeScript | aws-cdk-lib » aws_eventsv2 » CfnEventBus » StorageConfigurationProperty |
Storage (retention) configuration for the event bus.
Example
// 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
| Name | Type | Description |
|---|---|---|
| retention | number | The number of days events are retained on the event bus for replay, 1-365. |
retentionPeriodInDays?
Type:
number
(optional)
The number of days events are retained on the event bus for replay, 1-365.

.NET
Go
Java
Python
TypeScript