Insight constructor
Insight(
- String name, {
- InsightArgs? args,
- CustomResourceOptions? options,
Creates a new Insight.
name The Pulumi resource name.
args Arguments used to configure this Insight. The set of arguments for Insight.
options Resource options controlling this resource's behavior.
Implementation
Insight(
String name, {
InsightArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:securityhub/insight:Insight',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
filters = registerOutput<InsightFilters>('filters', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return InsightFilters.fromMap((guardedValue as Map).cast<String, dynamic>()); });
groupByAttribute = registerOutput<String>('groupByAttribute');
this.name = registerOutput<String>('name');
region = registerOutput<String>('region');
}