@Generated(value="jsii-pacmak/1.1.0 (build df55f5e)", date="2020-04-10T14:28:19.280Z") @Stability(value=Stable) public class EventBus extends Resource implements IEventBus
| Modifier and Type | Class and Description |
|---|---|
static class |
EventBus.Builder
A fluent builder for
EventBus. |
software.amazon.jsii.JsiiObject.InitializationModeIEventBus.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
EventBus(Construct scope,
String id) |
|
EventBus(Construct scope,
String id,
EventBusProps props) |
protected |
EventBus(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EventBus(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IEventBus |
fromEventBusArn(Construct scope,
String id,
String eventBusArn)
Import an existing event bus resource.
|
static IEventBus |
fromEventBusAttributes(Construct scope,
String id,
EventBusAttributes attrs)
Import an existing event bus resource.
|
String |
getEventBusArn()
The ARN of the event bus, such as: arn:aws:events:us-east-2:123456789012:event-bus/aws.partner/PartnerName/acct1/repo1.
|
String |
getEventBusName()
The physical ID of this event bus resource.
|
String |
getEventBusPolicy()
The policy for the event bus in JSON form.
|
String |
getEventSourceName()
The name of the partner event source.
|
static Grant |
grantPutEvents(IGrantable grantee)
Permits an IAM Principal to send custom events to EventBridge so that they can be matched to rules.
|
generatePhysicalName, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStackgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected EventBus(software.amazon.jsii.JsiiObjectRef objRef)
protected EventBus(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public EventBus(@NotNull
Construct scope,
@NotNull
String id,
@Nullable
EventBusProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable) @NotNull public static IEventBus fromEventBusArn(@NotNull Construct scope, @NotNull String id, @NotNull String eventBusArn)
scope - Parent construct. This parameter is required.id - Construct ID. This parameter is required.eventBusArn - ARN of imported event bus. This parameter is required.@Stability(value=Stable) @NotNull public static IEventBus fromEventBusAttributes(@NotNull Construct scope, @NotNull String id, @NotNull EventBusAttributes attrs)
scope - Parent construct. This parameter is required.id - Construct ID. This parameter is required.attrs - Imported event bus properties. This parameter is required.@Stability(value=Stable) @NotNull public static Grant grantPutEvents(@NotNull IGrantable grantee)
grantee - The principal (no-op if undefined). This parameter is required.@Stability(value=Stable) @NotNull public String getEventBusArn()
getEventBusArn in interface IEventBus@Stability(value=Stable) @NotNull public String getEventBusName()
getEventBusName in interface IEventBus@Stability(value=Stable) @NotNull public String getEventBusPolicy()
getEventBusPolicy in interface IEventBus@Stability(value=Stable) @Nullable public String getEventSourceName()
getEventSourceName in interface IEventBusCopyright © 2020. All rights reserved.