Skip to content
GitHubXDiscord

Datastore

The Datastore resource lets you manage AWS HealthImaging Datastores for storing and retrieving medical imaging data.

Create a basic HealthImaging Datastore with a specified name and an optional KMS key for encryption.

import AWS from "alchemy/aws/control";
const basicDatastore = await AWS.HealthImaging.Datastore("basic-datastore", {
DatastoreName: "patient-imaging-data",
KmsKeyArn: "arn:aws:kms:us-west-2:123456789012:key/abcd1234-ab12-cd34-ef56-1234567890ab"
});

Configure a datastore with tags for better resource management and organization.

const taggedDatastore = await AWS.HealthImaging.Datastore("tagged-datastore", {
DatastoreName: "research-study-images",
KmsKeyArn: "arn:aws:kms:us-west-2:123456789012:key/abcd1234-ab12-cd34-ef56-1234567890ab",
Tags: {
Project: "Medical Research",
Environment: "Production"
}
});

Adopt an existing HealthImaging Datastore instead of failing if the resource already exists.

const adoptExistingDatastore = await AWS.HealthImaging.Datastore("adopt-datastore", {
DatastoreName: "legacy-datastore",
adopt: true
});