Skip to content

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).

// init — account-level binding takes no resource
const listLandingZones = yield* AWS.ControlTower.ListLandingZones();
// runtime
const result = yield* listLandingZones();
const arn = result.landingZones[0]?.arn;