Skip to content
GitHubXDiscordRSS

DataAutomationProject

Learn how to create, update, and manage AWS Bedrock DataAutomationProjects using Alchemy Cloud Control.

The DataAutomationProject resource lets you manage AWS Bedrock DataAutomationProjects for automating data processing and workflows.

Create a basic DataAutomationProject with the required properties and a KMS key for encryption.

import AWS from "alchemy/aws/control";
const dataAutomationProject = await AWS.Bedrock.DataAutomationProject("myDataAutomationProject", {
ProjectName: "MyFirstDataAutomationProject",
KmsKeyId: "arn:aws:kms:us-west-2:123456789012:key/abcd1234-a123-456a-a12b-a123b4cd56ef",
ProjectDescription: "This project automates data processing tasks."
});

Configure a DataAutomationProject with custom output and override configurations for more control over automation.

const advancedDataAutomationProject = await AWS.Bedrock.DataAutomationProject("advancedDataAutomationProject", {
ProjectName: "MyAdvancedProject",
KmsKeyId: "arn:aws:kms:us-west-2:123456789012:key/abcd1234-a123-456a-a12b-a123b4cd56ef",
CustomOutputConfiguration: {
format: "json",
destination: "s3://my-output-bucket/outputs/"
},
OverrideConfiguration: {
timeout: 300,
maxRetries: 5
},
Tags: [
{ Key: "Environment", Value: "Production" },
{ Key: "Department", Value: "Data Science" }
]
});

Set up a DataAutomationProject with standard output configuration to direct the results of the automation.

const projectWithStandardOutput = await AWS.Bedrock.DataAutomationProject("standardOutputProject", {
ProjectName: "StandardOutputProject",
StandardOutputConfiguration: {
outputPath: "s3://my-output-bucket/standard-outputs/",
format: "csv"
}
});

Create a DataAutomationProject that includes KMS encryption context for enhanced security.

const secureProject = await AWS.Bedrock.DataAutomationProject("secureProject", {
ProjectName: "SecureDataProject",
KmsKeyId: "arn:aws:kms:us-west-2:123456789012:key/abcd1234-a123-456a-a12b-a123b4cd56ef",
KmsEncryptionContext: {
"Project": "SecureDataProject",
"Owner": "DataTeam"
}
});

If you need to adopt an existing DataAutomationProject instead of failing, set the adopt property to true.

const adoptedProject = await AWS.Bedrock.DataAutomationProject("existingProject", {
ProjectName: "AdoptedDataProject",
adopt: true
});