Skip to content

UpdateStandardsControl

Source: src/AWS/SecurityHub/UpdateStandardsControl.ts

Runtime binding for securityhub:UpdateStandardsControl.

Enables or disables an individual control within an enabled standard. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.UpdateStandardsControlHttp).

// init — account-level binding, no resource argument
const updateStandardsControl = yield* AWS.SecurityHub.UpdateStandardsControl();
// runtime
yield* updateStandardsControl({
StandardsControlArn: controlArn,
ControlStatus: "DISABLED",
DisabledReason: "not applicable to this workload",
});