1. Packages
  2. AWS Native
  3. API Docs
  4. bedrock
  5. getDataSource

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 logo

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:

    DataSourceId string
    Identifier for a resource.
    KnowledgeBaseId string
    The unique identifier of the knowledge base to which to add the data source.
    DataSourceId string
    Identifier for a resource.
    KnowledgeBaseId string
    The unique identifier of the knowledge base to which to add the data source.
    dataSourceId String
    Identifier for a resource.
    knowledgeBaseId String
    The unique identifier of the knowledge base to which to add the data source.
    dataSourceId string
    Identifier for a resource.
    knowledgeBaseId string
    The unique identifier of the knowledge base to which to add the data source.
    data_source_id str
    Identifier for a resource.
    knowledge_base_id str
    The unique identifier of the knowledge base to which to add the data source.
    dataSourceId String
    Identifier for a resource.
    knowledgeBaseId String
    The unique identifier of the knowledge base to which to add the data source.

    getDataSource Result

    The following output properties are available:

    CreatedAt string
    The time at which the data source was created.
    DataDeletionPolicy Pulumi.AwsNative.Bedrock.DataSourceDataDeletionPolicy
    The data deletion policy for a data source.
    DataSourceConfiguration Pulumi.AwsNative.Bedrock.Outputs.DataSourceConfiguration
    Contains details about how the data source is stored.
    DataSourceId string
    Identifier for a resource.
    DataSourceStatus Pulumi.AwsNative.Bedrock.DataSourceStatus
    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.
    FailureReasons List<string>
    The details of the failure reasons related to the data source.
    Name string
    The name of the data source.
    ServerSideEncryptionConfiguration Pulumi.AwsNative.Bedrock.Outputs.DataSourceServerSideEncryptionConfiguration
    Contains details about the configuration of the server-side encryption.
    UpdatedAt string
    The time at which the knowledge base was last updated.
    CreatedAt string
    The time at which the data source was created.
    DataDeletionPolicy DataSourceDataDeletionPolicy
    The data deletion policy for a data source.
    DataSourceConfiguration DataSourceConfiguration
    Contains details about how the data source is stored.
    DataSourceId string
    Identifier for a resource.
    DataSourceStatus DataSourceStatus
    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.
    FailureReasons []string
    The details of the failure reasons related to the data source.
    Name string
    The name of the data source.
    ServerSideEncryptionConfiguration DataSourceServerSideEncryptionConfiguration
    Contains details about the configuration of the server-side encryption.
    UpdatedAt string
    The time at which the knowledge base was last updated.
    createdAt String
    The time at which the data source was created.
    dataDeletionPolicy DataSourceDataDeletionPolicy
    The data deletion policy for a data source.
    dataSourceConfiguration DataSourceConfiguration
    Contains details about how the data source is stored.
    dataSourceId String
    Identifier for a resource.
    dataSourceStatus DataSourceStatus
    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.
    failureReasons List<String>
    The details of the failure reasons related to the data source.
    name String
    The name of the data source.
    serverSideEncryptionConfiguration DataSourceServerSideEncryptionConfiguration
    Contains details about the configuration of the server-side encryption.
    updatedAt String
    The time at which the knowledge base was last updated.
    createdAt string
    The time at which the data source was created.
    dataDeletionPolicy DataSourceDataDeletionPolicy
    The data deletion policy for a data source.
    dataSourceConfiguration DataSourceConfiguration
    Contains details about how the data source is stored.
    dataSourceId string
    Identifier for a resource.
    dataSourceStatus DataSourceStatus
    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.
    failureReasons string[]
    The details of the failure reasons related to the data source.
    name string
    The name of the data source.
    serverSideEncryptionConfiguration DataSourceServerSideEncryptionConfiguration
    Contains details about the configuration of the server-side encryption.
    updatedAt 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_policy DataSourceDataDeletionPolicy
    The data deletion policy for a data source.
    data_source_configuration DataSourceConfiguration
    Contains details about how the data source is stored.
    data_source_id str
    Identifier for a resource.
    data_source_status DataSourceStatus
    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_encryption_configuration DataSourceServerSideEncryptionConfiguration
    Contains details about the configuration of the server-side encryption.
    updated_at str
    The time at which the knowledge base was last updated.
    createdAt String
    The time at which the data source was created.
    dataDeletionPolicy "RETAIN" | "DELETE"
    The data deletion policy for a data source.
    dataSourceConfiguration Property Map
    Contains details about how the data source is stored.
    dataSourceId String
    Identifier for a resource.
    dataSourceStatus "AVAILABLE" | "DELETING" | "DELETE_UNSUCCESSFUL"
    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.
    failureReasons List<String>
    The details of the failure reasons related to the data source.
    name String
    The name of the data source.
    serverSideEncryptionConfiguration Property Map
    Contains details about the configuration of the server-side encryption.
    updatedAt String
    The time at which the knowledge base was last updated.

    Supporting Types

    DataSourceConfiguration

    S3Configuration Pulumi.AwsNative.Bedrock.Inputs.DataSourceS3DataSourceConfiguration
    Contains details about the configuration of the S3 object containing the data source.
    Type Pulumi.AwsNative.Bedrock.DataSourceType
    The type of storage for the data source.
    S3Configuration DataSourceS3DataSourceConfiguration
    Contains details about the configuration of the S3 object containing the data source.
    Type DataSourceType
    The type of storage for the data source.
    s3Configuration DataSourceS3DataSourceConfiguration
    Contains details about the configuration of the S3 object containing the data source.
    type DataSourceType
    The type of storage for the data source.
    s3Configuration DataSourceS3DataSourceConfiguration
    Contains details about the configuration of the S3 object containing the data source.
    type DataSourceType
    The type of storage for the data source.
    s3_configuration DataSourceS3DataSourceConfiguration
    Contains details about the configuration of the S3 object containing the data source.
    type DataSourceType
    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

    BucketArn string
    The ARN of the bucket that contains the data source.
    BucketOwnerAccountId string
    The account ID for the owner of the S3 bucket.
    InclusionPrefixes List<string>
    A list of S3 prefixes that define the object containing the data sources.
    BucketArn string
    The ARN of the bucket that contains the data source.
    BucketOwnerAccountId string
    The account ID for the owner of the S3 bucket.
    InclusionPrefixes []string
    A list of S3 prefixes that define the object containing the data sources.
    bucketArn String
    The ARN of the bucket that contains the data source.
    bucketOwnerAccountId String
    The account ID for the owner of the S3 bucket.
    inclusionPrefixes List<String>
    A list of S3 prefixes that define the object containing the data sources.
    bucketArn string
    The ARN of the bucket that contains the data source.
    bucketOwnerAccountId string
    The account ID for the owner of the S3 bucket.
    inclusionPrefixes 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_account_id str
    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.
    bucketArn String
    The ARN of the bucket that contains the data source.
    bucketOwnerAccountId String
    The account ID for the owner of the S3 bucket.
    inclusionPrefixes List<String>
    A list of S3 prefixes that define the object containing the data sources.

    DataSourceServerSideEncryptionConfiguration

    KmsKeyArn string
    The ARN of the AWS KMS key used to encrypt the resource.
    KmsKeyArn string
    The ARN of the AWS KMS key used to encrypt the resource.
    kmsKeyArn String
    The ARN of the AWS KMS key used to encrypt the resource.
    kmsKeyArn string
    The ARN of the AWS KMS key used to encrypt the resource.
    kms_key_arn str
    The ARN of the AWS KMS key used to encrypt the resource.
    kmsKeyArn String
    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 logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi