aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
95 lines (94 loc) • 2.16 kB
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a Dataset.
*
* @stability experimental
*/
export interface IDatasetRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Dataset resource.
*/
readonly datasetRef: DatasetReference;
}
/**
* A reference to a Dataset resource.
*
* @struct
* @stability external
*/
export interface DatasetReference {
/**
* The DatasetArn of the Dataset resource.
*/
readonly datasetArn: string;
}
/**
* Indicates that this resource can be referenced as a DatasetGroup.
*
* @stability experimental
*/
export interface IDatasetGroupRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a DatasetGroup resource.
*/
readonly datasetGroupRef: DatasetGroupReference;
}
/**
* A reference to a DatasetGroup resource.
*
* @struct
* @stability external
*/
export interface DatasetGroupReference {
/**
* The DatasetGroupArn of the DatasetGroup resource.
*/
readonly datasetGroupArn: string;
}
/**
* Indicates that this resource can be referenced as a Schema.
*
* @stability experimental
*/
export interface ISchemaRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Schema resource.
*/
readonly schemaRef: SchemaReference;
}
/**
* A reference to a Schema resource.
*
* @struct
* @stability external
*/
export interface SchemaReference {
/**
* The SchemaArn of the Schema resource.
*/
readonly schemaArn: string;
}
/**
* Indicates that this resource can be referenced as a Solution.
*
* @stability experimental
*/
export interface ISolutionRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Solution resource.
*/
readonly solutionRef: SolutionReference;
}
/**
* A reference to a Solution resource.
*
* @struct
* @stability external
*/
export interface SolutionReference {
/**
* The SolutionArn of the Solution resource.
*/
readonly solutionArn: string;
}