Skip to content
Proud to collaborate with Microsoft for Startups

aws.bedrock_agent.create_data_source ​

Call AWS Bedrock Agent CreateDataSource using a CloudConnection UUID.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID used for field resolution and connection scoping.
connection_uuiduuidYes—AWS CloudConnection UUID for the target Bedrock Agent account, scoped to the caller organization.
workflow_run_idstringNo—Engine DAG run ID stamped onto child steps.
regionstringNo—AWS API endpoint region override; omit to use the connection or SDK default.
knowledge_base_idstringYes—The unique identifier of the knowledge base to which to add the data source.
client_tokenstringNo—A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return...
namestringYes—The name of the data source.
descriptionstringNo—A description of the data source.
data_source_configurationjsonYes—The connection configuration for the data source.
data_deletion_policystringNo—The data deletion policy for the data source. You can set the data deletion policy to: DELETE: Deletes all data from your data source that’s converted into vector embeddings upon deletion of a know...
server_side_encryption_configurationjsonNo—Contains details about the server-side encryption for the data source.
vector_ingestion_configurationjsonNo—Contains details about how to ingest the documents in the data source.
provider_native_requestjsonNo—Optional provider-native request overrides for AWS parameters not yet promoted to first-class fields.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID echoed from input.
connection_uuiduuidNo—AWS CloudConnection UUID echoed from input.
regionstringNo—AWS API endpoint region used.
servicestringNo—AWS boto3 service/client name.
operationstringNo—AWS API operation invoked.
request_idstringNo—AWS request ID when available.
responsejsonNo—Sanitized provider response object.
itemslistNo—Primary response item list when the API returns a collection.
result_countintegerNo—Count of primary response items.
next_page_tokenstringNo—Pagination token for the next page.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "aws.bedrock_agent.create_data_source",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value",
    "knowledge_base_id": "value",
    "name": "value"
  }
}