Class IEventBus.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.IEventBus.Jsii$Proxy
All Implemented Interfaces:
IEventBusRef, IEventBusRef.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IEventBus, IEventBus.Jsii$Default, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default
Enclosing interface:
IEventBus

@Internal public static final class IEventBus.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IEventBus.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
  • Method Details

    • grantPutEventsTo

      @Stability(Stable) @NotNull public final Grant grantPutEventsTo(@NotNull IGrantable grantee)
      Grants an IAM Principal to send custom events to the eventBus so that they can be matched to rules.

      Specified by:
      grantPutEventsTo in interface IEventBus
      Specified by:
      grantPutEventsTo in interface IEventBus.Jsii$Default
      Parameters:
      grantee - The principal (no-op if undefined). This parameter is required.