@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.307Z") @Stability(value=Stable) public interface IEventBus extends software.amazon.jsii.JsiiSerializable, 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(String id,
BaseArchiveProps props)
Create an EventBridge archive to send events to.
|
String |
getEventBusArn()
The ARN of this event bus resource.
|
String |
getEventBusName()
The physical ID of this event bus resource.
|
String |
getEventBusPolicy()
The JSON policy of this event bus resource.
|
default 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@Stability(value=Stable) @NotNull String getEventBusArn()
@Stability(value=Stable) @NotNull String getEventBusName()
@Stability(value=Stable) @NotNull String getEventBusPolicy()
@Stability(value=Stable) @Nullable default String getEventSourceName()
@Stability(value=Stable) @NotNull Archive archive(@NotNull String id, @NotNull 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.@Stability(value=Stable) @NotNull Grant grantPutEventsTo(@NotNull IGrantable grantee)
grantee - The principal (no-op if undefined). This parameter is required.Copyright © 2022. All rights reserved.