Skip to content

UpdateSecurityControl

Source: src/AWS/SecurityHub/UpdateSecurityControl.ts

Runtime binding for securityhub:UpdateSecurityControl.

Updates the customizable parameters of a security control. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.UpdateSecurityControlHttp).

// init — account-level binding, no resource argument
const updateSecurityControl = yield* AWS.SecurityHub.UpdateSecurityControl();
// runtime
yield* updateSecurityControl({
SecurityControlId: "ACM.1",
Parameters: { daysToExpiration: { ValueType: "CUSTOM", Value: { Integer: 15 } } },
});