import { IEnvironmentAware } from "../environment-aware"; import * as constructs from "constructs"; /** * Indicates that this resource can be referenced as a DataSource. * * @stability experimental */ export interface IDataSourceRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a DataSource resource. */ readonly dataSourceRef: DataSourceReference; } /** * A reference to a DataSource resource. * * @struct * @stability external */ export interface DataSourceReference { /** * The Id of the DataSource resource. */ readonly dataSourceId: string; /** * The IndexId of the DataSource resource. */ readonly indexId: string; /** * The ARN of the DataSource resource. */ readonly dataSourceArn: string; } /** * Indicates that this resource can be referenced as a Faq. * * @stability experimental */ export interface IFaqRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a Faq resource. */ readonly faqRef: FaqReference; } /** * A reference to a Faq resource. * * @struct * @stability external */ export interface FaqReference { /** * The Id of the Faq resource. */ readonly faqId: string; /** * The IndexId of the Faq resource. */ readonly indexId: string; /** * The ARN of the Faq resource. */ readonly faqArn: string; } /** * Indicates that this resource can be referenced as a Index. * * @stability experimental */ export interface IIndexRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a Index resource. */ readonly indexRef: IndexReference; } /** * A reference to a Index resource. * * @struct * @stability external */ export interface IndexReference { /** * The Id of the Index resource. */ readonly indexId: string; /** * The ARN of the Index resource. */ readonly indexArn: string; } /** * Indicates that this resource can be referenced as a FeaturedResultsSet. * * @stability experimental */ export interface IFeaturedResultsSetRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a FeaturedResultsSet resource. */ readonly featuredResultsSetRef: FeaturedResultsSetReference; } /** * A reference to a FeaturedResultsSet resource. * * @struct * @stability external */ export interface FeaturedResultsSetReference { /** * The Arn of the FeaturedResultsSet resource. */ readonly featuredResultsSetArn: string; } /** * Indicates that this resource can be referenced as a QuerySuggestionsBlockList. * * @stability experimental */ export interface IQuerySuggestionsBlockListRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a QuerySuggestionsBlockList resource. */ readonly querySuggestionsBlockListRef: QuerySuggestionsBlockListReference; } /** * A reference to a QuerySuggestionsBlockList resource. * * @struct * @stability external */ export interface QuerySuggestionsBlockListReference { /** * The Arn of the QuerySuggestionsBlockList resource. */ readonly querySuggestionsBlockListArn: string; } /** * Indicates that this resource can be referenced as a Thesaurus. * * @stability experimental */ export interface IThesaurusRef extends constructs.IConstruct, IEnvironmentAware { /** * A reference to a Thesaurus resource. */ readonly thesaurusRef: ThesaurusReference; } /** * A reference to a Thesaurus resource. * * @struct * @stability external */ export interface ThesaurusReference { /** * The Arn of the Thesaurus resource. */ readonly thesaurusArn: string; }