Class EventBusGrants
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.EventBusGrants
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:22.075Z")
@Stability(Stable)
public class EventBusGrants
extends software.amazon.jsii.JsiiObject
Collection of grant methods for a IEventBusRef.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.events.*; import software.amazon.awscdk.interfaces.events.*; IEventBusRef eventBusRef; EventBusGrants eventBusGrants = EventBusGrants.fromEventBus(eventBusRef);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEventBusGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedEventBusGrants(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionallPutEvents(IGrantable grantee) Permits an IAM Principal to send custom events to EventBridge so that they can be matched to rules.static EventBusGrantsfromEventBus(IEventBusRef resource) Creates grants for EventBusGrants.protected IEventBusRefMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EventBusGrants
protected EventBusGrants(software.amazon.jsii.JsiiObjectRef objRef) -
EventBusGrants
protected EventBusGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromEventBus
@Stability(Stable) @NotNull public static EventBusGrants fromEventBus(@NotNull IEventBusRef resource) Creates grants for EventBusGrants.- Parameters:
resource- This parameter is required.
-
allPutEvents
Permits an IAM Principal to send custom events to EventBridge so that they can be matched to rules.- Parameters:
grantee- This parameter is required.
-
getResource
-