ResetEnabledControl
Source:
src/AWS/ControlTower/ResetEnabledControl.ts
Runtime binding for controltower:ResetEnabledControl.
Bind this operation to an EnabledControl to re-deploy the
guardrail’s governance resources from inside a function runtime —
remediating drift without changing the enablement’s configuration. The
call starts an asynchronous operation; poll it with
GetControlOperation. Provide the implementation with
Effect.provide(AWS.ControlTower.ResetEnabledControlHttp).
Remediating Drift
Section titled “Remediating Drift”// init — bind the operation to the enabled controlconst resetEnabledControl = yield* AWS.ControlTower.ResetEnabledControl(guardrail);
// runtimeconst { operationIdentifier } = yield* resetEnabledControl();