Interface EventBusAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EventBusAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.043Z") @Stability(Stable) public interface EventBusAttributes extends software.amazon.jsii.JsiiSerializable
Interface with properties necessary to import a reusable EventBus.

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.events.*;
 EventBusAttributes eventBusAttributes = EventBusAttributes.builder()
         .eventBusArn("eventBusArn")
         .eventBusName("eventBusName")
         .eventBusPolicy("eventBusPolicy")
         // the properties below are optional
         .eventSourceName("eventSourceName")
         .build();
 
  • Method Details

    • getEventBusArn

      @Stability(Stable) @NotNull String getEventBusArn()
      The ARN of this event bus resource.
    • getEventBusName

      @Stability(Stable) @NotNull String getEventBusName()
      The physical ID of this event bus resource.
    • getEventBusPolicy

      @Stability(Stable) @NotNull String getEventBusPolicy()
      The JSON policy of this event bus resource.
    • getEventSourceName

      @Stability(Stable) @Nullable default String getEventSourceName()
      The partner event source to associate with this event bus resource.

      Default: - no partner event source

    • builder

      @Stability(Stable) static EventBusAttributes.Builder builder()
      Returns:
      a EventBusAttributes.Builder of EventBusAttributes