Skip to content

DescribeRuleGroup

Source: src/AWS/NetworkFirewall/DescribeRuleGroup.ts

Runtime binding for network-firewall:DescribeRuleGroup — read the bound RuleGroup’s definition (rules source, variables, capacity); the rule group ARN is injected automatically.

Provide NetworkFirewall.DescribeRuleGroupHttp on the hosting Lambda Function to satisfy the requirement.

// init — grants network-firewall:DescribeRuleGroup on the rule group
const describeRuleGroup =
yield* AWS.NetworkFirewall.DescribeRuleGroup(ruleGroup);
// runtime
const { RuleGroup } = yield* describeRuleGroup();