Interface CfnEventBusProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventBusProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:52.400Z")
@Stability(Stable)
public interface CfnEventBusProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEventBus.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eventsv2.*;
CfnEventBusProps cfnEventBusProps = CfnEventBusProps.builder()
.name("name")
// the properties below are optional
.description("description")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsKeyIdentifier("kmsKeyIdentifier")
.build())
.storageConfiguration(StorageConfigurationProperty.builder()
.retentionPeriodInDays(123)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventBusPropsstatic final classAn implementation forCfnEventBusProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEventBusProps.Builderbuilder()default StringA description of the event bus.default ObjectEncryption configuration for an event bus.getName()The name of the event bus.default ObjectStorage (retention) configuration for the event bus.getTags()The tags assigned to the event bus.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the event bus.The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'.
- See Also:
-
getDescription
A description of the event bus.Control characters and Unicode line separators are not allowed.
- See Also:
-
getEncryptionConfiguration
Encryption configuration for an event bus.Returns union: either
IResolvableorCfnEventBus.EncryptionConfigurationProperty- See Also:
-
getStorageConfiguration
Storage (retention) configuration for the event bus.Returns union: either
IResolvableorCfnEventBus.StorageConfigurationProperty- See Also:
-
getTags
The tags assigned to the event bus.- See Also:
-
builder
- Returns:
- a
CfnEventBusProps.BuilderofCfnEventBusProps
-