Skip to content

GetBaseline

Source: src/AWS/ControlTower/GetBaseline.ts

Runtime binding for controltower:GetBaseline.

An account-level operation that reads one entry of the Control Tower baseline catalog by its ARN — its name and description. Provide the implementation with Effect.provide(AWS.ControlTower.GetBaselineHttp).

// init — account-level binding takes no resource
const getBaseline = yield* AWS.ControlTower.GetBaseline();
// runtime
const baseline = yield* getBaseline({ baselineIdentifier: baselineArn });
console.log(baseline.name, baseline.description);