AWS::Bedrock::DataSourceDefinition of AWS::Bedrock::DataSource Resource Type
7 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DataSourceConfiguration | DataSourceConfiguration | Required |
KnowledgeBaseId | string | RequiredCreate-only |
Name | string | Required |
DataDeletionPolicy | string | |
Description | string | |
ServerSideEncryptionConfiguration | ServerSideEncryptionConfiguration | |
VectorIngestionConfiguration | VectorIngestionConfiguration |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | The time at which the data source was created. |
DataSourceId | string | Identifier for a resource. |
DataSourceStatus | string | - |
FailureReasons | Array<string> | The details of the failure reasons related to the data source. |
UpdatedAt | string | The time at which the knowledge base was last updated. |
A minimal template with required properties and common optional ones.
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"Permissions CloudFormation needs in your IAM role to manage this resource.
bedrock:CreateDataSourcebedrock:GetDataSourcebedrock:GetKnowledgeBasekms:GenerateDataKeybedrock:GetDataSourcebedrock:GetDataSourcebedrock:UpdateDataSourcekms:GenerateDataKeybedrock:GetDataSourcebedrock:DeleteDataSourcebedrock:ListDataSourcesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterKnowledgeBaseIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
KnowledgeBaseIdVectorIngestionConfiguration/ChunkingConfigurationVectorIngestionConfiguration/ParsingConfigurationDataSourceConfiguration/Type