AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.bedrock.getDataSource
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
Definition of AWS::Bedrock::DataSource Resource Type
Using getDataSource
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDataSource(args: GetDataSourceArgs, opts?: InvokeOptions): Promise<GetDataSourceResult>
function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: InvokeOptions): Output<GetDataSourceResult>
def get_data_source(data_source_id: Optional[str] = None,
knowledge_base_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataSourceResult
def get_data_source_output(data_source_id: Optional[pulumi.Input[str]] = None,
knowledge_base_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataSourceResult]
func LookupDataSource(ctx *Context, args *LookupDataSourceArgs, opts ...InvokeOption) (*LookupDataSourceResult, error)
func LookupDataSourceOutput(ctx *Context, args *LookupDataSourceOutputArgs, opts ...InvokeOption) LookupDataSourceResultOutput
> Note: This function is named LookupDataSource
in the Go SDK.
public static class GetDataSource
{
public static Task<GetDataSourceResult> InvokeAsync(GetDataSourceArgs args, InvokeOptions? opts = null)
public static Output<GetDataSourceResult> Invoke(GetDataSourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDataSourceResult> getDataSource(GetDataSourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:bedrock:getDataSource
arguments:
# arguments dictionary
The following arguments are supported:
- Data
Source stringId - Identifier for a resource.
- Knowledge
Base stringId - The unique identifier of the knowledge base to which to add the data source.
- Data
Source stringId - Identifier for a resource.
- Knowledge
Base stringId - The unique identifier of the knowledge base to which to add the data source.
- data
Source StringId - Identifier for a resource.
- knowledge
Base StringId - The unique identifier of the knowledge base to which to add the data source.
- data
Source stringId - Identifier for a resource.
- knowledge
Base stringId - The unique identifier of the knowledge base to which to add the data source.
- data_
source_ strid - Identifier for a resource.
- knowledge_
base_ strid - The unique identifier of the knowledge base to which to add the data source.
- data
Source StringId - Identifier for a resource.
- knowledge
Base StringId - The unique identifier of the knowledge base to which to add the data source.
getDataSource Result
The following output properties are available:
- Created
At string - The time at which the data source was created.
- Data
Deletion Pulumi.Policy Aws Native. Bedrock. Data Source Data Deletion Policy - The data deletion policy for a data source.
- Data
Source Pulumi.Configuration Aws Native. Bedrock. Outputs. Data Source Configuration - Contains details about how the data source is stored.
- Data
Source stringId - Identifier for a resource.
- Data
Source Pulumi.Status Aws Native. Bedrock. Data Source Status - 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.
- Description string
- Description of the Resource.
- Failure
Reasons List<string> - The details of the failure reasons related to the data source.
- Name string
- The name of the data source.
- Server
Side Pulumi.Encryption Configuration Aws Native. Bedrock. Outputs. Data Source Server Side Encryption Configuration - Contains details about the configuration of the server-side encryption.
- Updated
At string - The time at which the knowledge base was last updated.
- Created
At string - The time at which the data source was created.
- Data
Deletion DataPolicy Source Data Deletion Policy - The data deletion policy for a data source.
- Data
Source DataConfiguration Source Configuration - Contains details about how the data source is stored.
- Data
Source stringId - Identifier for a resource.
- Data
Source DataStatus Source Status - 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.
- Description string
- Description of the Resource.
- Failure
Reasons []string - The details of the failure reasons related to the data source.
- Name string
- The name of the data source.
- Server
Side DataEncryption Configuration Source Server Side Encryption Configuration - Contains details about the configuration of the server-side encryption.
- Updated
At string - The time at which the knowledge base was last updated.
- created
At String - The time at which the data source was created.
- data
Deletion DataPolicy Source Data Deletion Policy - The data deletion policy for a data source.
- data
Source DataConfiguration Source Configuration - Contains details about how the data source is stored.
- data
Source StringId - Identifier for a resource.
- data
Source DataStatus Source Status - 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.
- description String
- Description of the Resource.
- failure
Reasons List<String> - The details of the failure reasons related to the data source.
- name String
- The name of the data source.
- server
Side DataEncryption Configuration Source Server Side Encryption Configuration - Contains details about the configuration of the server-side encryption.
- updated
At String - The time at which the knowledge base was last updated.
- created
At string - The time at which the data source was created.
- data
Deletion DataPolicy Source Data Deletion Policy - The data deletion policy for a data source.
- data
Source DataConfiguration Source Configuration - Contains details about how the data source is stored.
- data
Source stringId - Identifier for a resource.
- data
Source DataStatus Source Status - 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.
- description string
- Description of the Resource.
- failure
Reasons string[] - The details of the failure reasons related to the data source.
- name string
- The name of the data source.
- server
Side DataEncryption Configuration Source Server Side Encryption Configuration - Contains details about the configuration of the server-side encryption.
- updated
At string - The time at which the knowledge base was last updated.
- created_
at str - The time at which the data source was created.
- data_
deletion_ Datapolicy Source Data Deletion Policy - The data deletion policy for a data source.
- data_
source_ Dataconfiguration Source Configuration - Contains details about how the data source is stored.
- data_
source_ strid - Identifier for a resource.
- data_
source_ Datastatus Source Status - 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.
- description str
- Description of the Resource.
- failure_
reasons Sequence[str] - The details of the failure reasons related to the data source.
- name str
- The name of the data source.
- server_
side_ Dataencryption_ configuration Source Server Side Encryption Configuration - Contains details about the configuration of the server-side encryption.
- updated_
at str - The time at which the knowledge base was last updated.
- created
At String - The time at which the data source was created.
- data
Deletion "RETAIN" | "DELETE"Policy - The data deletion policy for a data source.
- data
Source Property MapConfiguration - Contains details about how the data source is stored.
- data
Source StringId - Identifier for a resource.
- data
Source "AVAILABLE" | "DELETING" | "DELETE_UNSUCCESSFUL"Status - 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.
- description String
- Description of the Resource.
- failure
Reasons List<String> - The details of the failure reasons related to the data source.
- name String
- The name of the data source.
- server
Side Property MapEncryption Configuration - Contains details about the configuration of the server-side encryption.
- updated
At String - The time at which the knowledge base was last updated.
Supporting Types
DataSourceConfiguration
- S3Configuration
Pulumi.
Aws Native. Bedrock. Inputs. Data Source S3Data Source Configuration - Contains details about the configuration of the S3 object containing the data source.
- Type
Pulumi.
Aws Native. Bedrock. Data Source Type - The type of storage for the data source.
- S3Configuration
Data
Source S3Data Source Configuration - Contains details about the configuration of the S3 object containing the data source.
- Type
Data
Source Type - The type of storage for the data source.
- s3Configuration
Data
Source S3Data Source Configuration - Contains details about the configuration of the S3 object containing the data source.
- type
Data
Source Type - The type of storage for the data source.
- s3Configuration
Data
Source S3Data Source Configuration - Contains details about the configuration of the S3 object containing the data source.
- type
Data
Source Type - The type of storage for the data source.
- s3_
configuration DataSource S3Data Source Configuration - Contains details about the configuration of the S3 object containing the data source.
- type
Data
Source Type - The type of storage for the data source.
- s3Configuration Property Map
- Contains details about the configuration of the S3 object containing the data source.
- type "S3"
- The type of storage for the data source.
DataSourceDataDeletionPolicy
DataSourceS3DataSourceConfiguration
- Bucket
Arn string - The ARN of the bucket that contains the data source.
- Bucket
Owner stringAccount Id - The account ID for the owner of the S3 bucket.
- Inclusion
Prefixes List<string> - A list of S3 prefixes that define the object containing the data sources.
- Bucket
Arn string - The ARN of the bucket that contains the data source.
- Bucket
Owner stringAccount Id - The account ID for the owner of the S3 bucket.
- Inclusion
Prefixes []string - A list of S3 prefixes that define the object containing the data sources.
- bucket
Arn String - The ARN of the bucket that contains the data source.
- bucket
Owner StringAccount Id - The account ID for the owner of the S3 bucket.
- inclusion
Prefixes List<String> - A list of S3 prefixes that define the object containing the data sources.
- bucket
Arn string - The ARN of the bucket that contains the data source.
- bucket
Owner stringAccount Id - The account ID for the owner of the S3 bucket.
- inclusion
Prefixes string[] - A list of S3 prefixes that define the object containing the data sources.
- bucket_
arn str - The ARN of the bucket that contains the data source.
- bucket_
owner_ straccount_ id - The account ID for the owner of the S3 bucket.
- inclusion_
prefixes Sequence[str] - A list of S3 prefixes that define the object containing the data sources.
- bucket
Arn String - The ARN of the bucket that contains the data source.
- bucket
Owner StringAccount Id - The account ID for the owner of the S3 bucket.
- inclusion
Prefixes List<String> - A list of S3 prefixes that define the object containing the data sources.
DataSourceServerSideEncryptionConfiguration
- Kms
Key stringArn - The ARN of the AWS KMS key used to encrypt the resource.
- Kms
Key stringArn - The ARN of the AWS KMS key used to encrypt the resource.
- kms
Key StringArn - The ARN of the AWS KMS key used to encrypt the resource.
- kms
Key stringArn - The ARN of the AWS KMS key used to encrypt the resource.
- kms_
key_ strarn - The ARN of the AWS KMS key used to encrypt the resource.
- kms
Key StringArn - The ARN of the AWS KMS key used to encrypt the resource.
DataSourceStatus
DataSourceType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi