Interface BaseArchiveProps

All Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
ArchiveProps.Jsii$Proxy, BaseArchiveProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:08.638Z") @Stability(Stable) public interface BaseArchiveProps extends
The event archive base properties.


 EventBus bus = EventBus.Builder.create(this, "bus")
 bus.archive("MyArchive", BaseArchiveProps.builder()
         .description("MyCustomerEventBus Archive")
  • Method Details

    • getEventPattern

      @Stability(Stable) @NotNull EventPattern getEventPattern()
      An event pattern to use to filter events sent to the archive.
    • getArchiveName

      @Stability(Stable) @Nullable default String getArchiveName()
      The name of the archive.

      Default: - Automatically generated

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description for the archive.

      Default: - none

    • getRetention

      @Stability(Stable) @Nullable default Duration getRetention()
      The number of days to retain events for.

      Default value is 0. If set to 0, events are retained indefinitely.

      Default: - Infinite

    • builder

      @Stability(Stable) static BaseArchiveProps.Builder builder()
      a BaseArchiveProps.Builder of BaseArchiveProps