Interface IEventBus
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IEventBus.Jsii$Default
- All Known Implementing Classes:
EventBus
,IEventBus.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:08.506Z")
@Stability(Stable)
public interface IEventBus
extends software.amazon.jsii.JsiiSerializable, IResource
Interface which all EventBus based classes MUST implement.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIEventBus
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionarchive
(String id, BaseArchiveProps props) Create an EventBridge archive to send events to.The ARN of this event bus resource.The physical ID of this event bus resource.The JSON policy of this event bus resource.default String
The partner event source to associate with this event bus resource.grantPutEventsTo
(IGrantable grantee) Grants an IAM Principal to send custom events to the eventBus so that they can be matched to rules.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventBusArn
The ARN of this event bus resource. -
getEventBusName
The physical ID of this event bus resource. -
getEventBusPolicy
The JSON policy of this event bus resource. -
getEventSourceName
The partner event source to associate with this event bus resource. -
archive
Create an EventBridge archive to send events to.When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect.
- Parameters:
id
- This parameter is required.props
- Properties of the archive. This parameter is required.
-
grantPutEventsTo
Grants an IAM Principal to send custom events to the eventBus so that they can be matched to rules.- Parameters:
grantee
- The principal (no-op if undefined). This parameter is required.
-