DetectorDatasourcesMalwareProtection.fromMap constructor

DetectorDatasourcesMalwareProtection.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DetectorDatasourcesMalwareProtection.fromMap(Map<String, dynamic> map) {
  return DetectorDatasourcesMalwareProtection(
    scanEc2InstanceWithFindings: pulumi.Input.fromValue(DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings.fromMap((map['scanEc2InstanceWithFindings']! as Map).cast<String, dynamic>())),
  );
}