Skip to content

BatchEnableStandards

Source: src/AWS/SecurityHub/BatchEnableStandards.ts

Runtime binding for securityhub:BatchEnableStandards.

Enables (subscribes the account to) one or more security standards. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.BatchEnableStandardsHttp).

// init — account-level binding, no resource argument
const batchEnableStandards = yield* AWS.SecurityHub.BatchEnableStandards();
// runtime
yield* batchEnableStandards({
StandardsSubscriptionRequests: [{ StandardsArn: standardsArn }],
});