Skip to content

Domain

Source: src/AWS/SimpleDB/Domain.ts

An Amazon SimpleDB domain — the container for SimpleDB items and attributes, analogous to a table.

SimpleDB is a legacy service (closed to accounts that never used it and slated for migration via the SimpleDBv2 export API), but domains remain fully manageable on grandfathered accounts. A domain has no mutable configuration: the name is its identity, so any name change replaces the domain. SimpleDB has no tagging API, so Alchemy cannot brand domains for ownership detection.

Basic Domain

import * as AWS from "alchemy/AWS";
const domain = yield* AWS.SimpleDB.Domain("MyDomain", {});

Named Domain

const domain = yield* AWS.SimpleDB.Domain("MyDomain", {
domainName: "my-application-data",
});