Skip to content

StartAnalysisReport

Source: src/AWS/NetworkFirewall/StartAnalysisReport.ts

Runtime binding for network-firewall:StartAnalysisReport — generate a traffic analysis report (TLS_SNI or HTTP_HOST) for the bound Firewall; the firewall ARN is injected automatically. The firewall’s analysis settings must have the analysis type enabled.

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

// init — grants network-firewall:StartAnalysisReport on the firewall
const startAnalysisReport =
yield* AWS.NetworkFirewall.StartAnalysisReport(firewall);
// runtime
const { AnalysisReportId } = yield* startAnalysisReport({
AnalysisType: "TLS_SNI",
});