import { IEnvironmentAware } from "../environment-aware"; import * as constructs from "constructs"; /** * Indicates that this resource can be referenced as a EventBus. * * @stability experimental */ export interface IEventBusRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a EventBus resource. */ readonly eventBusRef: EventBusReference; } /** * A reference to a EventBus resource. * * @struct * @stability external */ export interface EventBusReference { /** * The EventBusArn of the EventBus resource. */ readonly eventBusArn: string; } /** * Indicates that this resource can be referenced as a EventSource. * * @stability experimental */ export interface IEventSourceRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a EventSource resource. */ readonly eventSourceRef: EventSourceReference; } /** * A reference to a EventSource resource. * * @struct * @stability external */ export interface EventSourceReference { /** * The EventSourceArn of the EventSource resource. */ readonly eventSourceArn: string; } /** * Indicates that this resource can be referenced as a ResourcePolicy. * * @stability experimental */ export interface IResourcePolicyRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a ResourcePolicy resource. */ readonly resourcePolicyRef: ResourcePolicyReference; } /** * A reference to a ResourcePolicy resource. * * @struct * @stability external */ export interface ResourcePolicyReference { /** * The EventBusArn of the ResourcePolicy resource. */ readonly eventBusArn: string; } /** * Indicates that this resource can be referenced as a Subscriber. * * @stability experimental */ export interface ISubscriberRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a Subscriber resource. */ readonly subscriberRef: SubscriberReference; } /** * A reference to a Subscriber resource. * * @struct * @stability external */ export interface SubscriberReference { /** * The SubscriberArn of the Subscriber resource. */ readonly subscriberArn: string; }