Skip to content

DescribeRuleGroupMetadata

Source: src/AWS/NetworkFirewall/DescribeRuleGroupMetadata.ts

Runtime binding for network-firewall:DescribeRuleGroupMetadata — read the high-level metadata (type, capacity, last-modified time) of the bound RuleGroup without fetching the full rules definition; the rule group ARN is injected automatically.

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

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