aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
30 lines (29 loc) • 715 B
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a Repository.
*
* @stability experimental
*/
export interface IRepositoryRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Repository resource.
*/
readonly repositoryRef: RepositoryReference;
}
/**
* A reference to a Repository resource.
*
* @struct
* @stability external
*/
export interface RepositoryReference {
/**
* The Id of the Repository resource.
*/
readonly repositoryId: string;
/**
* The ARN of the Repository resource.
*/
readonly repositoryArn: string;
}