Karolis Stulgys
04/02/2022, 8:13 AMChad (cysense)
04/02/2022, 8:34 AMChad (cysense)
04/02/2022, 8:36 AMChad (cysense)
04/02/2022, 8:52 AMKarolis Stulgys
04/02/2022, 9:26 AMconst processor = new sst.Function(this, "Processor", "processor.main");
new SubscriptionFilter(this, "Subscription", {
logGroup,
destination: new LogsDestinations.LambdaDestination(processor),
filterPattern: FilterPattern.booleanValue("$.error", true),
});
Ross Coundon
04/02/2022, 2:52 PMaccessLog: true
in the Api construct’s props.