StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabase.fromMap constructor

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

Implementation

factory StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabase.fromMap(Map<String, dynamic> map) {
  return StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabase(
    database: pulumi.Input.fromValue(map['database'] as String),
    mysqlTables: (() { final guardedValue = map['mysqlTables']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTable>(guardedValue, (value) => StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTable.fromMap((value as Map).cast<String, dynamic>()))); })(),
  );
}