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.
Minimal Example
Section titled “Minimal Example”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."});
Advanced Configuration
Section titled “Advanced Configuration”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" } ]});
Standard Output Configuration
Section titled “Standard Output Configuration”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" }});
Using KMS Encryption
Section titled “Using KMS Encryption”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" }});
Adopting Existing Resource
Section titled “Adopting Existing Resource”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});