Skip to content

DescribeFirewall

Source: src/AWS/NetworkFirewall/DescribeFirewall.ts

Runtime binding for network-firewall:DescribeFirewall — read the bound Firewall’s configuration and status (sync states, endpoint ids, capacity usage); the firewall ARN is injected automatically.

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

// init — grants network-firewall:DescribeFirewall on the firewall
const describeFirewall = yield* AWS.NetworkFirewall.DescribeFirewall(firewall);
// runtime
const { FirewallStatus } = yield* describeFirewall();