ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfig.fromMap constructor
ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfig.fromMap()
Implementation
factory ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfig.fromMap(Map<String, dynamic> map) {
return ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfig(
customOutput: (() { final guardedValue = map['customOutput']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutput.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
description: (() { final guardedValue = map['description']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
predicate: pulumi.Input.fromValue(ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigPredicate.fromMap((map['predicate']! as Map).cast<String, dynamic>())),
recommendation: pulumi.Input.fromValue(map['recommendation'] as String),
resourceSelector: pulumi.Input.fromValue(ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelector.fromMap((map['resourceSelector']! as Map).cast<String, dynamic>())),
severity: pulumi.Input.fromValue(map['severity'] as String),
);
}