import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Definition of AWS::Bedrock::DataSource Resource Type */ export declare class DataSource extends pulumi.CustomResource { /** * Get an existing DataSource resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DataSource; /** * Returns true if the given object is an instance of DataSource. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DataSource; /** * The time at which the data source was created. */ readonly createdAt: pulumi.Output; /** * The data deletion policy for the data source. */ readonly dataDeletionPolicy: pulumi.Output; /** * The connection configuration for the data source. */ readonly dataSourceConfiguration: pulumi.Output; /** * Identifier for a resource. */ readonly dataSourceId: pulumi.Output; /** * The status of the data source. The following statuses are possible: * * - Available – The data source has been created and is ready for ingestion into the knowledge base. * - Deleting – The data source is being deleted. */ readonly dataSourceStatus: pulumi.Output; /** * Description of the Resource. */ readonly description: pulumi.Output; /** * The details of the failure reasons related to the data source. */ readonly failureReasons: pulumi.Output; /** * The unique identifier of the knowledge base to which to add the data source. */ readonly knowledgeBaseId: pulumi.Output; /** * The name of the data source. */ readonly name: pulumi.Output; /** * Contains details about the configuration of the server-side encryption. */ readonly serverSideEncryptionConfiguration: pulumi.Output; /** * The time at which the knowledge base was last updated. */ readonly updatedAt: pulumi.Output; /** * Contains details about how to ingest the documents in the data source. */ readonly vectorIngestionConfiguration: pulumi.Output; /** * Create a DataSource resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DataSourceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataSource resource. */ export interface DataSourceArgs { /** * The data deletion policy for the data source. */ dataDeletionPolicy?: pulumi.Input; /** * The connection configuration for the data source. */ dataSourceConfiguration: pulumi.Input; /** * Description of the Resource. */ description?: pulumi.Input; /** * The unique identifier of the knowledge base to which to add the data source. */ knowledgeBaseId: pulumi.Input; /** * The name of the data source. */ name?: pulumi.Input; /** * Contains details about the configuration of the server-side encryption. */ serverSideEncryptionConfiguration?: pulumi.Input; /** * Contains details about how to ingest the documents in the data source. */ vectorIngestionConfiguration?: pulumi.Input; }