Skip to content

BatchGetAutomationRules

Source: src/AWS/SecurityHub/BatchGetAutomationRules.ts

Runtime binding for securityhub:BatchGetAutomationRules.

Returns the full configuration of a batch of automation rules by ARN. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.BatchGetAutomationRulesHttp).

Custom Actions, Automation Rules & Aggregation

Section titled “Custom Actions, Automation Rules & Aggregation”
// init — account-level binding, no resource argument
const batchGetAutomationRules = yield* AWS.SecurityHub.BatchGetAutomationRules();
// runtime
const { Rules } = yield* batchGetAutomationRules({
AutomationRulesArns: [rule.ruleArn],
});