@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-02T20:25:28.780Z") public interface IEventBus extends IResource
Modifier and Type | Interface and Description |
---|---|
static interface |
IEventBus.Jsii$Default
Internal default implementation for
IEventBus . |
static class |
IEventBus.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
Archive |
archive(java.lang.String id,
BaseArchiveProps props)
Create an EventBridge archive to send events to.
|
java.lang.String |
getEventBusArn()
The ARN of this event bus resource.
|
java.lang.String |
getEventBusName()
The physical ID of this event bus resource.
|
java.lang.String |
getEventBusPolicy()
The JSON policy of this event bus resource.
|
default java.lang.String |
getEventSourceName()
The partner event source to associate with this event bus resource.
|
Grant |
grantPutEventsTo(IGrantable grantee)
Grants an IAM Principal to send custom events to the eventBus so that they can be matched to rules.
|
applyRemovalPolicy, getEnv, getStack
getNode
java.lang.String getEventBusArn()
java.lang.String getEventBusName()
java.lang.String getEventBusPolicy()
default java.lang.String getEventSourceName()
Archive archive(java.lang.String id, BaseArchiveProps props)
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.
id
- This parameter is required.props
- Properties of the archive. This parameter is required.Grant grantPutEventsTo(IGrantable grantee)
grantee
- The principal (no-op if undefined). This parameter is required.