Registry
The Registry resource lets you manage AWS Glue Registrys for organizing and managing schemas in AWS Glue Data Catalog.
Minimal Example
Section titled “Minimal Example”Create a basic registry with a name and description.
import AWS from "alchemy/aws/control";
const basicRegistry = await AWS.Glue.Registry("basic-registry", { name: "MyDataRegistry", description: "This registry holds schemas for my data assets."});
Advanced Configuration
Section titled “Advanced Configuration”Configure a registry with tags for better management and organization.
const taggedRegistry = await AWS.Glue.Registry("tagged-registry", { name: "MyTaggedDataRegistry", description: "This registry holds schemas for my data assets with tags.", tags: [ { key: "Environment", value: "Production" }, { key: "Department", value: "Finance" } ]});
Adoption of Existing Registry
Section titled “Adoption of Existing Registry”Adopt an existing registry instead of failing if it already exists.
const adoptRegistry = await AWS.Glue.Registry("adopt-registry", { name: "ExistingDataRegistry", description: "This registry will adopt an existing resource.", adopt: true});