GetLandingZone
Source:
src/AWS/ControlTower/GetLandingZone.ts
Runtime binding for controltower:GetLandingZone.
An account-level operation that reads the landing zone’s version, status,
drift status, and manifest by its ARN (discovered via
ListLandingZones). Useful for drift-monitoring functions that
alert when the landing zone drifts out of sync. Provide the
implementation with Effect.provide(AWS.ControlTower.GetLandingZoneHttp).
Inspecting the Landing Zone
Section titled “Inspecting the Landing Zone”// init — account-level binding takes no resourceconst getLandingZone = yield* AWS.ControlTower.GetLandingZone();
// runtimeconst { landingZone } = yield* getLandingZone({ landingZoneIdentifier: arn,});console.log(landingZone.driftStatus?.status);