v1

latestOpenAPI 3.0.3Lucid2026-07-14155181312.3 KB
Cloud

Create AWS Data Source

Create a new data source from AWS data. Returns a jobId that can be used to retrieve the status from the Get "Create AWS Data Source" Job Status endpoint.

post/v1/dataSources/aws

Request body

namestring required

The name to give the data source

awsCredentialIdstring

AWS credential ID

awsAccountIdstring required

The ID of the AWS account which contains the data from which to create the data source

regionsstring[] required

The AWS regions which contain the data from which to create the data source. Use the "Get Supported AWS Regions" endpoint to see a list of all supported regions.

resourceSelectionstring[]

The AWS resources to include in the data source. Use the "Get Fully Supported AWS Resources" endpoint to see a list of all supported resources.

Example request

{
  "name": "Example AWS Data Source",
  "awsCredentialId": "aws_12345",
  "awsAccountId": "123456789012",
  "regions": [
    "us-east-1",
    "us-west-2"
  ],
  "resourceSelection": [
    "AWS::EC2::Instance",
    "AWS::S3::Bucket"
  ]
}

Response

Accepted. Occurs when the creation job has been queued.

jobIdstring required

Unique identifier for an asynchronous job

Example response

{
  "jobId": "jobr_2f5e5b82-6f1d-4c9f-932a-14e43cf30454"
}