Class EventBus
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.targets.EventBus
- All Implemented Interfaces:
IRuleTarget
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:59.767Z")
@Stability(Stable)
public class EventBus
extends software.amazon.jsii.JsiiObject
implements IRuleTarget
Notify an existing Event Bus of an event.
Example:
Rule rule = Rule.Builder.create(this, "Rule") .schedule(Schedule.expression("rate(1 minute)")) .build(); rule.addTarget(new EventBus(EventBus.fromEventBusArn(this, "External", "arn:aws:events:eu-west-1:999999999999:event-bus/test-bus")));
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.events.IRuleTarget
IRuleTarget.Jsii$Default, IRuleTarget.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the rule target specification.Returns the rule target specification.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EventBus
protected EventBus(software.amazon.jsii.JsiiObjectRef objRef) -
EventBus
protected EventBus(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EventBus
- Parameters:
eventBus
- This parameter is required.props
-
-
EventBus
- Parameters:
eventBus
- This parameter is required.
-
-
Method Details
-
bind
Returns the rule target specification.NOTE: Do not use the various
inputXxx
options. They can be set in a call toaddTarget
.- Specified by:
bind
in interfaceIRuleTarget
- Parameters:
rule
- This parameter is required._id
-
-
bind
Returns the rule target specification.NOTE: Do not use the various
inputXxx
options. They can be set in a call toaddTarget
.- Specified by:
bind
in interfaceIRuleTarget
- Parameters:
rule
- This parameter is required.
-