import { IEnvironmentAware } from "../environment-aware"; import * as constructs from "constructs"; /** * Indicates that this resource can be referenced as a Permission. * * @stability experimental */ export interface IPermissionRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a Permission resource. */ readonly permissionRef: PermissionReference; } /** * A reference to a Permission resource. * * @struct * @stability external */ export interface PermissionReference { /** * The Arn of the Permission resource. */ readonly permissionArn: string; } /** * Indicates that this resource can be referenced as a ResourceShare. * * @stability experimental */ export interface IResourceShareRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a ResourceShare resource. */ readonly resourceShareRef: ResourceShareReference; } /** * A reference to a ResourceShare resource. * * @struct * @stability external */ export interface ResourceShareReference { /** * The Arn of the ResourceShare resource. */ readonly resourceShareArn: string; } /** * Indicates that this resource can be referenced as a PermissionAssociation. * * @stability experimental */ export interface IPermissionAssociationRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a PermissionAssociation resource. */ readonly permissionAssociationRef: PermissionAssociationReference; } /** * A reference to a PermissionAssociation resource. * * @struct * @stability external */ export interface PermissionAssociationReference { /** * The ResourceShareArn of the PermissionAssociation resource. */ readonly resourceShareArn: string; /** * The PermissionArn of the PermissionAssociation resource. */ readonly permissionArn: string; } /** * Indicates that this resource can be referenced as a PrincipalAssociation. * * @stability experimental */ export interface IPrincipalAssociationRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a PrincipalAssociation resource. */ readonly principalAssociationRef: PrincipalAssociationReference; } /** * A reference to a PrincipalAssociation resource. * * @struct * @stability external */ export interface PrincipalAssociationReference { /** * The ResourceShareArn of the PrincipalAssociation resource. */ readonly resourceShareArn: string; /** * The Principal of the PrincipalAssociation resource. */ readonly principal: string; } /** * Indicates that this resource can be referenced as a ResourceAssociation. * * @stability experimental */ export interface IResourceAssociationRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a ResourceAssociation resource. */ readonly resourceAssociationRef: ResourceAssociationReference; } /** * A reference to a ResourceAssociation resource. * * @struct * @stability external */ export interface ResourceAssociationReference { /** * The ResourceShareArn of the ResourceAssociation resource. */ readonly resourceShareArn: string; /** * The ResourceArn of the ResourceAssociation resource. */ readonly resourceArn: string; } /** * Indicates that this resource can be referenced as a SourceAssociation. * * @stability experimental */ export interface ISourceAssociationRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a SourceAssociation resource. */ readonly sourceAssociationRef: SourceAssociationReference; } /** * A reference to a SourceAssociation resource. * * @struct * @stability external */ export interface SourceAssociationReference { /** * The ResourceShareArn of the SourceAssociation resource. */ readonly resourceShareArn: string; /** * The SourceId of the SourceAssociation resource. */ readonly sourceId: string; }