interface CfnEventBusProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EventsV2.CfnEventBusProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseventsv2#CfnEventBusProps |
Java | software.amazon.awscdk.services.eventsv2.CfnEventBusProps |
Python | aws_cdk.aws_eventsv2.CfnEventBusProps |
TypeScript | aws-cdk-lib » aws_eventsv2 » CfnEventBusProps |
Properties for defining a CfnEventBus.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventsv2-eventbus.html
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 cfnEventBusProps: eventsv2.CfnEventBusProps = {
name: 'name',
// the properties below are optional
description: 'description',
encryptionConfiguration: {
kmsKeyIdentifier: 'kmsKeyIdentifier',
},
storageConfiguration: {
retentionPeriodInDays: 123,
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the event bus. |
| description? | string | A description of the event bus. |
| encryption | IResolvable | Encryption | Encryption configuration for an event bus. |
| storage | IResolvable | Storage | Storage (retention) configuration for the event bus. |
| tags? | Cfn[] | The tags assigned to the event bus. |
name
Type:
string
The name of the event bus.
The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'.
description?
Type:
string
(optional)
A description of the event bus.
Control characters and Unicode line separators are not allowed.
encryptionConfiguration?
Type:
IResolvable | Encryption
(optional)
Encryption configuration for an event bus.
storageConfiguration?
Type:
IResolvable | Storage
(optional)
Storage (retention) configuration for the event bus.
tags?
Type:
Cfn[]
(optional)
The tags assigned to the event bus.

.NET
Go
Java
Python
TypeScript