AWS Fundamentals Logo
AWS Fundamentals
AWS::Bedrock::DataSource

Bedrock DataSource

Definition of AWS::Bedrock::DataSource Resource Type

Properties

7 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
DataSourceConfiguration
DataSourceConfiguration
Required
KnowledgeBaseId
string
RequiredCreate-only
Name
string
Required
DataDeletionPolicy
string
Description
string
ServerSideEncryptionConfiguration
ServerSideEncryptionConfiguration
VectorIngestionConfiguration
VectorIngestionConfiguration

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CreatedAtstringThe time at which the data source was created.
DataSourceIdstringIdentifier for a resource.
DataSourceStatusstring-
FailureReasonsArray<string>The details of the failure reasons related to the data source.
UpdatedAtstringThe time at which the knowledge base was last updated.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Bedrock::DataSource

Resources:
  MyResource:
    Type: AWS::Bedrock::DataSource
    Properties:
      DataSourceConfiguration: "value"
      Name: "my-name"
      KnowledgeBaseId: "my-knowledgebaseid"
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

bedrock:CreateDataSourcebedrock:GetDataSourcebedrock:GetKnowledgeBasekms:GenerateDataKey

read

bedrock:GetDataSource

update

bedrock:GetDataSourcebedrock:UpdateDataSourcekms:GenerateDataKey

delete

bedrock:GetDataSourcebedrock:DeleteDataSource

list

bedrock:ListDataSources

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceBedrock
Properties12
Required3
TaggingNot supported
Primary IDKnowledgeBaseId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

KnowledgeBaseIdVectorIngestionConfiguration/ChunkingConfigurationVectorIngestionConfiguration/ParsingConfigurationDataSourceConfiguration/Type

External Links