UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

19 lines (18 loc) 576 B
import * as events from "./events.generated"; import * as iam from "../../aws-iam"; /** * Collection of grant methods for a IEventBusRef */ export declare class EventBusGrants { /** * Creates grants for EventBusGrants */ static fromEventBus(resource: events.IEventBusRef): EventBusGrants; protected readonly resource: events.IEventBusRef; private constructor(); /** * Permits an IAM Principal to send custom events to EventBridge * so that they can be matched to rules. */ allPutEvents(grantee: iam.IGrantable): iam.Grant; }