ListLandingZones
Source:
src/AWS/ControlTower/ListLandingZones.ts
Runtime binding for controltower:ListLandingZones.
An account-level operation that returns the organization’s landing zone
ARN (a landing zone is a singleton — the list has at most one entry).
Useful for governance functions that discover the landing zone before
reading its drift status. Provide the implementation with
Effect.provide(AWS.ControlTower.ListLandingZonesHttp).
Inspecting the Landing Zone
Section titled “Inspecting the Landing Zone”// init — account-level binding takes no resourceconst listLandingZones = yield* AWS.ControlTower.ListLandingZones();
// runtimeconst result = yield* listLandingZones();const arn = result.landingZones[0]?.arn;