CfnEventBusProps Struct
Properties for defining a CfnEventBus.
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 cfnEventBusProps: eventsv2.CfnEventBusProps = {
name: 'name',
// the properties below are optional
description: 'description',
encryptionConfiguration: {
kmsKeyIdentifier: 'kmsKeyIdentifier',
},
storageConfiguration: {
retentionPeriodInDays: 123,
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
A description of the event bus.
Control characters and Unicode line separators are not allowed.
encryptionConfigurationIResolvable | CfnEventBus.EncryptionConfigurationPropertyencryption_configurationtyping.Union[IResolvable, EncryptionConfigurationProperty]encryptionConfigurationIResolvableEncryptionConfigurationIResolvableEncryptionConfigurationinterface{}#Encryption configuration for an event bus.
The name of the event bus.
The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'.
storageConfigurationIResolvable | CfnEventBus.StorageConfigurationPropertystorage_configurationtyping.Union[IResolvable, StorageConfigurationProperty]storageConfigurationIResolvableStorageConfigurationIResolvableStorageConfigurationinterface{}#Storage (retention) configuration for the event bus.