Cell
Learn how to create, update, and manage AWS Route53RecoveryReadiness Cells using Alchemy Cloud Control.
The Cell resource allows you to manage AWS Route53RecoveryReadiness Cells that help ensure recovery readiness for your applications across multiple AWS Regions.
Minimal Example
Section titled “Minimal Example”Create a basic Cell with a name and optional tags:
import AWS from "alchemy/aws/control";
const basicCell = await AWS.Route53RecoveryReadiness.Cell("myBasicCell", { cellName: "PrimaryCell", tags: [ { key: "Environment", value: "Production" } ]});
Advanced Configuration
Section titled “Advanced Configuration”Configure a Cell with nested Cells and additional properties:
const advancedCell = await AWS.Route53RecoveryReadiness.Cell("myAdvancedCell", { cellName: "AdvancedCell", cells: ["SecondaryCell1", "SecondaryCell2"], adopt: true, tags: [ { key: "Project", value: "DisasterRecovery" }, { key: "Owner", value: "TeamA" } ]});
Nested Cells Example
Section titled “Nested Cells Example”Create a Cell that contains multiple nested Cells for a multi-region setup:
const multiRegionCell = await AWS.Route53RecoveryReadiness.Cell("myMultiRegionCell", { cellName: "MultiRegionCell", cells: ["RegionA", "RegionB", "RegionC"], tags: [ { key: "UseCase", value: "HighAvailability" } ]});
Adoption of Existing Resources
Section titled “Adoption of Existing Resources”Adopt an existing Cell without failing if it already exists:
const adoptExistingCell = await AWS.Route53RecoveryReadiness.Cell("myAdoptedCell", { cellName: "ExistingCell", adopt: true});