@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.230Z") @Stability(value=Experimental) 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)
(experimental) Create an EventBridge archive to send events to.
|
String |
getEventBusArn()
(experimental) The ARN of this event bus resource.
|
String |
getEventBusName()
(experimental) The physical ID of this event bus resource.
|
String |
getEventBusPolicy()
(experimental) The JSON policy of this event bus resource.
|
default String |
getEventSourceName()
(experimental) The partner event source to associate with this event bus resource.
|
Grant |
grantPutEventsTo(IGrantable grantee)
(experimental) Grants an IAM Principal to send custom events to the eventBus so that they can be matched to rules.
|
@Stability(value=Experimental) @NotNull String getEventBusArn()
@Stability(value=Experimental) @NotNull String getEventBusName()
@Stability(value=Experimental) @NotNull String getEventBusPolicy()
@Stability(value=Experimental) @Nullable default String getEventSourceName()
@Stability(value=Experimental) @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=Experimental) @NotNull Grant grantPutEventsTo(@NotNull IGrantable grantee)
grantee - The principal (no-op if undefined). This parameter is required.Copyright © 2021. All rights reserved.