InsightArgs constructor

const InsightArgs({
  1. required Input<InsightFilters> filters,
  2. required Input<String> groupByAttribute,
  3. Input<String?>? name,
  4. Input<String?>? region,
})

Creates a new InsightArgs. filters A configuration block including one or more (up to 10 distinct) attributes used to filter the findings included in the insight. The insight only includes findings that match criteria defined in the filters. See filters below for more details. groupByAttribute The attribute used to group the findings for the insight e.g., if an insight is grouped by ResourceId, then the insight produces a list of resource identifiers. name The name of the custom insight. region Region where this resource will be managed. Defaults to the Region set in the provider configuration.

Implementation

const InsightArgs({
  required this.filters,
  required this.groupByAttribute,
  this.name,
  this.region,
});